#1F4DA4#1F4DA4
#1F4DA4 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.150 H 261.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4DA4 |
|---|---|
| RGB | rgb(31, 77, 164) |
| HSL | hsl(219, 68%, 38%) |
| HSV | hsv(219, 81%, 64%) |
| CMYK | cmyk(81.1%, 53%, 0%, 35.7%) |
| CIE-LAB | lab(34.56, 17.48, -51.37) |
| CIE-LCH | lch(34.56, 54.27, 288.79°) |
| OKLab | oklab(44.18% -0.0219 -0.1481) |
| OKLCH | oklch(44.18% 0.15 261.6) |
| XYZ | xyz(9.9174, 8.2782, 36.1899) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.24
Cobalt (survey)
#1E488F
ΔE00 3.07
Sapphire
#0F52BA
ΔE00 3.09
Dusk Blue
#26538D
ΔE00 3.97
Denim Blue
#3B5B92
ΔE00 5.42
Light Navy
#155084
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4DA4 #A4761F
analogous
#1F8FA4 #1F4DA4 #331FA4
triadic
#1F4DA4 #A41F4D #4DA41F
tetradic
#1F4DA4 #A41F8F #A4761F #1FA433
square
#1F4DA4 #A41F8F #A4761F #1FA433
split-complementary
#1F4DA4 #A4331F #8FA41F
monochromatic
#0C1D3D #153571 #1F4DA4 #2A65D7 #5D8AE0
Accessibility & contrast
On white
7.91
#1F4DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#1F4DA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4DA4
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4DA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4DA4 | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D58A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1f4da4; /* rgb */ color: rgb(31, 77, 164); /* oklch */ color: oklch(44.2% 0.150 261.6);
Tailwind
colors: {
custom: {
50: '#717ec0',
500: '#1f4da4',
950: '#000000',
},
}SCSS
$custom: #1f4da4; $custom-light: #717ec0; $custom-dark: #000000;
JSON
{
"hex": "#1f4da4",
"rgb": {
"r": 31,
"g": 77,
"b": 164
},
"hsl": {
"h": 219.248,
"s": 68.205,
"l": 38.235
},
"oklch": {
"l": 0.44177,
"c": 0.14967,
"h": 261.6
},
"luminance": 0.08279
}Semantic roles & 50–950 ramp
primary
#1F4DA4
secondary
#C5A05A
accent
#AF3DEB
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81