#1F4E9A#1F4E9A
#1F4E9A is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.135 H 259.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4E9A |
|---|---|
| RGB | rgb(31, 78, 154) |
| HSL | hsl(217, 66%, 36%) |
| HSV | hsv(217, 80%, 60%) |
| CMYK | cmyk(79.9%, 49.4%, 0%, 39.6%) |
| CIE-LAB | lab(34.13, 12.82, -46.04) |
| CIE-LCH | lch(34.13, 47.79, 285.56°) |
| OKLab | oklab(43.63% -0.024 -0.1323) |
| OKLCH | oklch(43.63% 0.135 259.7) |
| XYZ | xyz(9.1201, 8.0721, 31.6430) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.28
Dusk Blue
#26538D
ΔE00 2.59
Cobalt
#0047AB
ΔE00 3.36
Sapphire
#0F52BA
ΔE00 4.10
Light Navy
#155084
ΔE00 4.21
Denim Blue
#3B5B92
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4E9A #9A6B1F
analogous
#1F8C9A #1F4E9A #2E1F9A
triadic
#1F4E9A #9A1F4E #4E9A1F
tetradic
#1F4E9A #9A1F8C #9A6B1F #1F9A2E
square
#1F4E9A #9A1F8C #9A6B1F #1F9A2E
split-complementary
#1F4E9A #9A2E1F #8C9A1F
monochromatic
#0A1A34 #153467 #1F4E9A #2968CD #568ADD
Accessibility & contrast
On white
8.03
#1F4E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#1F4E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4E9A
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4E9A | 1.00 | 8.03 | 2.61 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22569D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f4e9a; /* rgb */ color: rgb(31, 78, 154); /* oklch */ color: oklch(43.6% 0.135 259.7);
Tailwind
colors: {
custom: {
50: '#6f7fb8',
500: '#1f4e9a',
950: '#000000',
},
}SCSS
$custom: #1f4e9a; $custom-light: #6f7fb8; $custom-dark: #000000;
JSON
{
"hex": "#1f4e9a",
"rgb": {
"r": 31,
"g": 78,
"b": 154
},
"hsl": {
"h": 217.073,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.43627,
"c": 0.13451,
"h": 259.7
},
"luminance": 0.08073
}Semantic roles & 50–950 ramp
primary
#1F4E9A
secondary
#C19754
accent
#A83EE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80