#1F4D7D#1F4D7D
#1F4D7D is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.4% C 0.095 H 252.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4D7D |
|---|---|
| RGB | rgb(31, 77, 125) |
| HSL | hsl(211, 60%, 31%) |
| HSV | hsv(211, 75%, 49%) |
| CMYK | cmyk(75.2%, 38.4%, 0%, 51%) |
| CIE-LAB | lab(31.99, 1.94, -31.71) |
| CIE-LCH | lch(31.99, 31.77, 273.50°) |
| OKLab | oklab(41.37% -0.0293 -0.0902) |
| OKLCH | oklch(41.37% 0.095 252) |
| XYZ | xyz(6.9192, 7.0790, 20.3998) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy
#155084
ΔE00 1.68
Dusk Blue
#26538D
ΔE00 2.79
Prussian Blue
#004577
ΔE00 3.01
Twilight Blue
#0A437A
ΔE00 3.28
Cobalt (survey)
#1E488F
ΔE00 3.70
Darkish Blue
#014182
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4D7D #7D4F1F
analogous
#1F7C7D #1F4D7D #201F7D
triadic
#1F4D7D #7D1F4D #4D7D1F
tetradic
#1F4D7D #7D1F7C #7D4F1F #1F7D20
square
#1F4D7D #7D1F7C #7D4F1F #1F7D20
split-complementary
#1F4D7D #7D201F #7C7D1F
monochromatic
#07111B #132F4C #1F4D7D #2B6BAE #458AD1
Accessibility & contrast
On white
8.69
#1F4D7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#1F4D7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4D7D
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4D7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4D7D | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#29477C
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1f4d7d; /* rgb */ color: rgb(31, 77, 125); /* oklch */ color: oklch(41.4% 0.095 252.0);
Tailwind
colors: {
custom: {
50: '#687ea3',
500: '#1f4d7d',
950: '#000000',
},
}SCSS
$custom: #1f4d7d; $custom-light: #687ea3; $custom-dark: #000000;
JSON
{
"hex": "#1f4d7d",
"rgb": {
"r": 31,
"g": 77,
"b": 125
},
"hsl": {
"h": 210.638,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.41369,
"c": 0.0949,
"h": 252
},
"luminance": 0.0708
}Semantic roles & 50–950 ramp
primary
#1F4D7D
secondary
#B07D48
accent
#9644E3
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#07090F
muted
#7A7B7F