Hex Color #1200BF - Custom Color

Color Codes

HEX
#1200BF
RGB
rgb(18, 0, 191)
HSL
hsl(246, 100%, 37%)
CMYK
cmyk(91%, 100%, 0%, 25%)
HSV
hsv(246, 100%, 75%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 11.81:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 1.78:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #1200BF;
color: #1200BF;
border-color: #1200BF;
}

Tailwind CSS (with arbitrary values)

bg-[#1200BF]
text-[#1200BF]
border-[#1200BF]
// Example usage:
<div className="bg-[#1200BF]">