#1F4D9E#1F4D9E
#1F4D9E is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.141 H 260.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4D9E |
|---|---|
| RGB | rgb(31, 77, 158) |
| HSL | hsl(218, 67%, 37%) |
| HSV | hsv(218, 80%, 62%) |
| CMYK | cmyk(80.4%, 51.3%, 0%, 38%) |
| CIE-LAB | lab(34.12, 15.09, -48.47) |
| CIE-LCH | lch(34.12, 50.77, 287.29°) |
| OKLab | oklab(43.71% -0.0226 -0.1395) |
| OKLCH | oklch(43.71% 0.141 260.8) |
| XYZ | xyz(9.3883, 8.0666, 33.4033) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.39
Cobalt
#0047AB
ΔE00 2.71
Dusk Blue
#26538D
ΔE00 3.30
Sapphire
#0F52BA
ΔE00 3.73
Light Navy
#155084
ΔE00 4.87
Denim Blue
#3B5B92
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4D9E #9E701F
analogous
#1F8D9E #1F4D9E #311F9E
triadic
#1F4D9E #9E1F4D #4D9E1F
tetradic
#1F4D9E #9E1F8D #9E701F #1F9E31
square
#1F4D9E #9E1F8D #9E701F #1F9E31
split-complementary
#1F4D9E #9E311F #8D9E1F
monochromatic
#0B1B38 #15346B #1F4D9E #2966D1 #5989DE
Accessibility & contrast
On white
8.03
#1F4D9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#1F4D9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4D9E
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4D9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4D9E | 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)
#1A56A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f4d9e; /* rgb */ color: rgb(31, 77, 158); /* oklch */ color: oklch(43.7% 0.141 260.8);
Tailwind
colors: {
custom: {
50: '#707ebb',
500: '#1f4d9e',
950: '#000000',
},
}SCSS
$custom: #1f4d9e; $custom-light: #707ebb; $custom-dark: #000000;
JSON
{
"hex": "#1f4d9e",
"rgb": {
"r": 31,
"g": 77,
"b": 158
},
"hsl": {
"h": 218.268,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.43708,
"c": 0.14134,
"h": 260.8
},
"luminance": 0.08068
}Semantic roles & 50–950 ramp
primary
#1F4D9E
secondary
#C29B56
accent
#AC3EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81