Hex Color #1312BC - Custom Color

Color Codes

HEX
#1312BC
RGB
rgb(19, 18, 188)
HSL
hsl(240, 83%, 40%)
CMYK
cmyk(90%, 90%, 0%, 26%)
HSV
hsv(240, 90%, 74%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 1.84: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: #1312BC;
color: #1312BC;
border-color: #1312BC;
}

Tailwind CSS (with arbitrary values)

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