#1F4EA0#1F4EA0
#1F4EA0 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.143 H 260.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4EA0 |
|---|---|
| RGB | rgb(31, 78, 160) |
| HSL | hsl(218, 68%, 37%) |
| HSV | hsv(218, 81%, 63%) |
| CMYK | cmyk(80.6%, 51.2%, 0%, 37.3%) |
| CIE-LAB | lab(34.55, 15.21, -48.98) |
| CIE-LCH | lch(34.55, 51.29, 287.25°) |
| OKLab | oklab(44.08% -0.0231 -0.141) |
| OKLCH | oklch(44.08% 0.143 260.7) |
| XYZ | xyz(9.6323, 8.2770, 34.3408) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.77
Cobalt
#0047AB
ΔE00 2.80
Dusk Blue
#26538D
ΔE00 3.25
Sapphire
#0F52BA
ΔE00 3.39
Light Navy
#155084
ΔE00 4.90
Denim Blue
#3B5B92
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4EA0 #A0711F
analogous
#1F8EA0 #1F4EA0 #311FA0
triadic
#1F4EA0 #A01F4E #4EA01F
tetradic
#1F4EA0 #A01F8E #A0711F #1FA031
square
#1F4EA0 #A01F8E #A0711F #1FA031
split-complementary
#1F4EA0 #A0311F #8EA01F
monochromatic
#0B1C39 #15356D #1F4EA0 #2967D3 #5A8BDF
Accessibility & contrast
On white
7.91
#1F4EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#1F4EA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4EA0
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4EA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4EA0 | 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)
#1A57A3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1f4ea0; /* rgb */ color: rgb(31, 78, 160); /* oklch */ color: oklch(44.1% 0.143 260.7);
Tailwind
colors: {
custom: {
50: '#707ebd',
500: '#1f4ea0',
950: '#000000',
},
}SCSS
$custom: #1f4ea0; $custom-light: #707ebd; $custom-dark: #000000;
JSON
{
"hex": "#1f4ea0",
"rgb": {
"r": 31,
"g": 78,
"b": 160
},
"hsl": {
"h": 218.14,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.44083,
"c": 0.14288,
"h": 260.7
},
"luminance": 0.08278
}Semantic roles & 50–950 ramp
primary
#1F4EA0
secondary
#C39C58
accent
#AB3DEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81