#1F4D99#1F4D99
#1F4D99 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.134 H 260.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4D99 |
|---|---|
| RGB | rgb(31, 77, 153) |
| HSL | hsl(217, 66%, 36%) |
| HSV | hsv(217, 80%, 60%) |
| CMYK | cmyk(79.7%, 49.7%, 0%, 40%) |
| CIE-LAB | lab(33.77, 13.09, -46.02) |
| CIE-LCH | lch(33.77, 47.85, 285.88°) |
| OKLab | oklab(43.33% -0.0234 -0.1323) |
| OKLCH | oklch(43.33% 0.134 260) |
| XYZ | xyz(8.9666, 7.8979, 31.1827) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.95
Dusk Blue
#26538D
ΔE00 2.80
Cobalt
#0047AB
ΔE00 3.22
Sapphire
#0F52BA
ΔE00 4.31
Light Navy
#155084
ΔE00 4.31
Darkish Blue
#014182
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4D99 #996B1F
analogous
#1F8A99 #1F4D99 #2E1F99
triadic
#1F4D99 #991F4D #4D991F
tetradic
#1F4D99 #991F8A #996B1F #1F992E
square
#1F4D99 #991F8A #996B1F #1F992E
split-complementary
#1F4D99 #992E1F #8A991F
monochromatic
#0A1A33 #153366 #1F4D99 #2967CC #5689DD
Accessibility & contrast
On white
8.14
#1F4D99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#1F4D99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4D99
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4D99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4D99 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21559C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #1f4d99; /* rgb */ color: rgb(31, 77, 153); /* oklch */ color: oklch(43.3% 0.134 260.0);
Tailwind
colors: {
custom: {
50: '#6e7eb8',
500: '#1f4d99',
950: '#000000',
},
}SCSS
$custom: #1f4d99; $custom-light: #6e7eb8; $custom-dark: #000000;
JSON
{
"hex": "#1f4d99",
"rgb": {
"r": 31,
"g": 77,
"b": 153
},
"hsl": {
"h": 217.377,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.43326,
"c": 0.13436,
"h": 260
},
"luminance": 0.07899
}Semantic roles & 50–950 ramp
primary
#1F4D99
secondary
#C09754
accent
#A93FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80