#1F4972#1F4972
#1F4972 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.7% C 0.084 H 250.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4972 |
|---|---|
| RGB | rgb(31, 73, 114) |
| HSL | hsl(210, 57%, 28%) |
| HSV | hsv(210, 73%, 45%) |
| CMYK | cmyk(72.8%, 36%, 0%, 55.3%) |
| CIE-LAB | lab(30.09, 0.26, -27.84) |
| CIE-LCH | lch(30.09, 27.84, 270.54°) |
| OKLab | oklab(39.68% -0.0283 -0.079) |
| OKLCH | oklch(39.68% 0.084 250.3) |
| XYZ | xyz(5.9837, 6.2707, 16.8113) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Prussian Blue
#004577
ΔE00 2.27
Twilight Blue
#0A437A
ΔE00 2.68
Light Navy
#155084
ΔE00 3.17
Darkish Blue
#014182
ΔE00 3.80
Cobalt (survey)
#1E488F
ΔE00 4.40
Dusk Blue
#26538D
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4972 #72481F
analogous
#1F7271 #1F4972 #1F1F72
triadic
#1F4972 #721F49 #49721F
tetradic
#1F4972 #711F72 #72481F #1F721F
square
#1F4972 #711F72 #72481F #1F721F
split-complementary
#1F4972 #721F1F #72711F
monochromatic
#070F18 #122A42 #1F4972 #2C68A2 #4087CB
Accessibility & contrast
On white
9.32
#1F4972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#1F4972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4972
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4972 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374B74
Deuteranopia (green-blind)
#2B4371
Tritanopia (blue-blind)
#005358
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f4972; /* rgb */ color: rgb(31, 73, 114); /* oklch */ color: oklch(39.7% 0.084 250.3);
Tailwind
colors: {
custom: {
50: '#667b9b',
500: '#1f4972',
950: '#000000',
},
}SCSS
$custom: #1f4972; $custom-light: #667b9b; $custom-dark: #000000;
JSON
{
"hex": "#1f4972",
"rgb": {
"r": 31,
"g": 73,
"b": 114
},
"hsl": {
"h": 209.639,
"s": 57.241,
"l": 28.431
},
"oklch": {
"l": 0.39676,
"c": 0.08391,
"h": 250.3
},
"luminance": 0.06271
}Semantic roles & 50–950 ramp
primary
#1F4972
secondary
#A67647
accent
#9347E0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E