#1F5899#1F5899
#1F5899 is a mid, vivid cyan. Relative luminance 0.096; OKLCH L 45.9% C 0.121 H 254.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5899 |
|---|---|
| RGB | rgb(31, 88, 153) |
| HSL | hsl(212, 66%, 36%) |
| HSV | hsv(212, 80%, 60%) |
| CMYK | cmyk(79.7%, 42.5%, 0%, 40%) |
| CIE-LAB | lab(37.06, 5.78, -40.74) |
| CIE-LCH | lch(37.06, 41.15, 278.07°) |
| OKLab | oklab(45.87% -0.0327 -0.1166) |
| OKLCH | oklch(45.87% 0.121 254.3) |
| XYZ | xyz(9.8024, 9.5695, 31.4613) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.29
Light Navy Blue
#2E5A88
ΔE00 2.36
Denim Blue
#3B5B92
ΔE00 3.62
Light Navy
#155084
ΔE00 3.63
Denim (survey)
#3B638C
ΔE00 4.60
Denim
#1560BD
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5899 #99601F
analogous
#1F9599 #1F5899 #231F99
triadic
#1F5899 #991F58 #58991F
tetradic
#1F5899 #991F95 #99601F #1F9923
square
#1F5899 #991F95 #99601F #1F9923
split-complementary
#1F5899 #99231F #95991F
monochromatic
#0A1D33 #153B66 #1F5899 #2975CC #5695DD
Accessibility & contrast
On white
7.21
#1F5899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#1F5899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5899
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5899 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385D9C
Deuteranopia (green-blind)
#235298
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #1f5899; /* rgb */ color: rgb(31, 88, 153); /* oklch */ color: oklch(45.9% 0.121 254.3);
Tailwind
colors: {
custom: {
50: '#6e86b7',
500: '#1f5899',
950: '#000000',
},
}SCSS
$custom: #1f5899; $custom-light: #6e86b7; $custom-dark: #000000;
JSON
{
"hex": "#1f5899",
"rgb": {
"r": 31,
"g": 88,
"b": 153
},
"hsl": {
"h": 211.967,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.45868,
"c": 0.12107,
"h": 254.3
},
"luminance": 0.09571
}Semantic roles & 50–950 ramp
primary
#1F5899
secondary
#C08D54
accent
#993FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80