#1F4DA1#1F4DA1
#1F4DA1 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.146 H 261.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4DA1 |
|---|---|
| RGB | rgb(31, 77, 161) |
| HSL | hsl(219, 68%, 38%) |
| HSV | hsv(219, 81%, 63%) |
| CMYK | cmyk(80.7%, 52.2%, 0%, 36.9%) |
| CIE-LAB | lab(34.34, 16.28, -49.93) |
| CIE-LCH | lch(34.34, 52.52, 288.06°) |
| OKLab | oklab(43.94% -0.0222 -0.1438) |
| OKLCH | oklch(43.94% 0.146 261.2) |
| XYZ | xyz(9.6496, 8.1711, 34.7799) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.45
Cobalt (survey)
#1E488F
ΔE00 2.72
Sapphire
#0F52BA
ΔE00 3.40
Dusk Blue
#26538D
ΔE00 3.63
Light Navy
#155084
ΔE00 5.21
Denim Blue
#3B5B92
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4DA1 #A1731F
analogous
#1F8EA1 #1F4DA1 #321FA1
triadic
#1F4DA1 #A11F4D #4DA11F
tetradic
#1F4DA1 #A11F8E #A1731F #1FA132
square
#1F4DA1 #A11F8E #A1731F #1FA132
split-complementary
#1F4DA1 #A1321F #8EA11F
monochromatic
#0B1C3A #15346E #1F4DA1 #2966D4 #5B8ADF
Accessibility & contrast
On white
7.97
#1F4DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#1F4DA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4DA1
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4DA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4DA1 | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1457A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1f4da1; /* rgb */ color: rgb(31, 77, 161); /* oklch */ color: oklch(43.9% 0.146 261.2);
Tailwind
colors: {
custom: {
50: '#707ebd',
500: '#1f4da1',
950: '#000000',
},
}SCSS
$custom: #1f4da1; $custom-light: #707ebd; $custom-dark: #000000;
JSON
{
"hex": "#1f4da1",
"rgb": {
"r": 31,
"g": 77,
"b": 161
},
"hsl": {
"h": 218.769,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.43941,
"c": 0.14552,
"h": 261.2
},
"luminance": 0.08172
}Semantic roles & 50–950 ramp
primary
#1F4DA1
secondary
#C49E58
accent
#AD3DEB
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81