#1F4CA1#1F4CA1
#1F4CA1 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.147 H 261.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4CA1 |
|---|---|
| RGB | rgb(31, 76, 161) |
| HSL | hsl(219, 68%, 38%) |
| HSV | hsv(219, 81%, 63%) |
| CMYK | cmyk(80.7%, 52.8%, 0%, 36.9%) |
| CIE-LAB | lab(34.05, 16.96, -50.39) |
| CIE-LCH | lch(34.05, 53.17, 288.60°) |
| OKLab | oklab(43.72% -0.0215 -0.1452) |
| OKLCH | oklch(43.72% 0.147 261.6) |
| XYZ | xyz(9.5802, 8.0323, 34.7568) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.20
Cobalt (survey)
#1E488F
ΔE00 2.61
Sapphire
#0F52BA
ΔE00 3.56
Dusk Blue
#26538D
ΔE00 3.91
Light Navy
#155084
ΔE00 5.41
Darkish Blue
#014182
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4CA1 #A1741F
analogous
#1F8DA1 #1F4CA1 #331FA1
triadic
#1F4CA1 #A11F4C #4CA11F
tetradic
#1F4CA1 #A11F8D #A1741F #1FA133
square
#1F4CA1 #A11F8D #A1741F #1FA133
split-complementary
#1F4CA1 #A1331F #8DA11F
monochromatic
#0B1C3A #15346E #1F4CA1 #2964D4 #5B89DF
Accessibility & contrast
On white
8.06
#1F4CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#1F4CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4CA1
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4CA1 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1056A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f4ca1; /* rgb */ color: rgb(31, 76, 161); /* oklch */ color: oklch(43.7% 0.147 261.6);
Tailwind
colors: {
custom: {
50: '#707dbd',
500: '#1f4ca1',
950: '#000000',
},
}SCSS
$custom: #1f4ca1; $custom-light: #707dbd; $custom-dark: #000000;
JSON
{
"hex": "#1f4ca1",
"rgb": {
"r": 31,
"g": 76,
"b": 161
},
"hsl": {
"h": 219.231,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.43722,
"c": 0.14678,
"h": 261.6
},
"luminance": 0.08033
}Semantic roles & 50–950 ramp
primary
#1F4CA1
secondary
#C49E58
accent
#AF3DEB
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81