#1F5399#1F5399
#1F5399 is a dark, vivid cyan. Relative luminance 0.088; OKLCH L 44.7% C 0.127 H 257.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5399 |
|---|---|
| RGB | rgb(31, 83, 153) |
| HSL | hsl(214, 66%, 36%) |
| HSV | hsv(214, 80%, 60%) |
| CMYK | cmyk(79.7%, 45.8%, 0%, 40%) |
| CIE-LAB | lab(35.55, 9.07, -43.16) |
| CIE-LCH | lch(35.55, 44.10, 281.87°) |
| OKLab | oklab(44.7% -0.0284 -0.1238) |
| OKLCH | oklch(44.7% 0.127 257.1) |
| XYZ | xyz(9.4060, 8.7766, 31.3291) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.45
Light Navy
#155084
ΔE00 3.40
Light Navy Blue
#2E5A88
ΔE00 3.41
Denim Blue
#3B5B92
ΔE00 3.80
Cobalt (survey)
#1E488F
ΔE00 3.89
Sapphire
#0F52BA
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5399 #99651F
analogous
#1F9099 #1F5399 #281F99
triadic
#1F5399 #991F53 #53991F
tetradic
#1F5399 #991F90 #99651F #1F9928
square
#1F5399 #991F90 #99651F #1F9928
split-complementary
#1F5399 #99281F #90991F
monochromatic
#0A1C33 #153766 #1F5399 #296FCC #568FDD
Accessibility & contrast
On white
7.62
#1F5399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#1F5399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5399
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5399 | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5A9C
Deuteranopia (green-blind)
#144E98
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #1f5399; /* rgb */ color: rgb(31, 83, 153); /* oklch */ color: oklch(44.7% 0.127 257.1);
Tailwind
colors: {
custom: {
50: '#6e82b7',
500: '#1f5399',
950: '#000000',
},
}SCSS
$custom: #1f5399; $custom-light: #6e82b7; $custom-dark: #000000;
JSON
{
"hex": "#1f5399",
"rgb": {
"r": 31,
"g": 83,
"b": 153
},
"hsl": {
"h": 214.426,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.44698,
"c": 0.12697,
"h": 257.1
},
"luminance": 0.08778
}Semantic roles & 50–950 ramp
primary
#1F5399
secondary
#C09254
accent
#A03FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80