#1F4DA0#1F4DA0
#1F4DA0 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.144 H 261.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4DA0 |
|---|---|
| RGB | rgb(31, 77, 160) |
| HSL | hsl(219, 68%, 37%) |
| HSV | hsv(219, 81%, 63%) |
| CMYK | cmyk(80.6%, 51.9%, 0%, 37.3%) |
| CIE-LAB | lab(34.26, 15.89, -49.44) |
| CIE-LCH | lch(34.26, 51.93, 287.81°) |
| OKLab | oklab(43.86% -0.0224 -0.1424) |
| OKLCH | oklch(43.86% 0.144 261.1) |
| XYZ | xyz(9.5618, 8.1360, 34.3173) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.53
Cobalt (survey)
#1E488F
ΔE00 2.60
Sapphire
#0F52BA
ΔE00 3.51
Dusk Blue
#26538D
ΔE00 3.52
Light Navy
#155084
ΔE00 5.09
Denim Blue
#3B5B92
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4DA0 #A0721F
analogous
#1F8DA0 #1F4DA0 #321FA0
triadic
#1F4DA0 #A01F4D #4DA01F
tetradic
#1F4DA0 #A01F8D #A0721F #1FA032
square
#1F4DA0 #A01F8D #A0721F #1FA032
split-complementary
#1F4DA0 #A0321F #8DA01F
monochromatic
#0B1C39 #15346D #1F4DA0 #2966D3 #5A8ADF
Accessibility & contrast
On white
7.99
#1F4DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#1F4DA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4DA0
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4DA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4DA0 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1657A3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1f4da0; /* rgb */ color: rgb(31, 77, 160); /* oklch */ color: oklch(43.9% 0.144 261.1);
Tailwind
colors: {
custom: {
50: '#707ebd',
500: '#1f4da0',
950: '#000000',
},
}SCSS
$custom: #1f4da0; $custom-light: #707ebd; $custom-dark: #000000;
JSON
{
"hex": "#1f4da0",
"rgb": {
"r": 31,
"g": 77,
"b": 160
},
"hsl": {
"h": 218.605,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.43863,
"c": 0.14413,
"h": 261.1
},
"luminance": 0.08137
}Semantic roles & 50–950 ramp
primary
#1F4DA0
secondary
#C39D58
accent
#AD3DEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81