#1F4BA4#1F4BA4
#1F4BA4 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.152 H 262.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4BA4 |
|---|---|
| RGB | rgb(31, 75, 164) |
| HSL | hsl(220, 68%, 38%) |
| HSV | hsv(220, 81%, 64%) |
| CMYK | cmyk(81.1%, 54.3%, 0%, 35.7%) |
| CIE-LAB | lab(33.99, 18.83, -52.29) |
| CIE-LCH | lch(33.99, 55.58, 289.80°) |
| OKLab | oklab(43.75% -0.0204 -0.1508) |
| OKLCH | oklch(43.75% 0.152 262.3) |
| XYZ | xyz(9.7796, 8.0026, 36.1440) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.76
Cobalt (survey)
#1E488F
ΔE00 2.97
Sapphire
#0F52BA
ΔE00 3.48
Dusk Blue
#26538D
ΔE00 4.51
Darkish Blue
#014182
ΔE00 5.76
Light Navy
#155084
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4BA4 #A4781F
analogous
#1F8DA4 #1F4BA4 #351FA4
triadic
#1F4BA4 #A41F4B #4BA41F
tetradic
#1F4BA4 #A41F8D #A4781F #1FA435
square
#1F4BA4 #A41F8D #A4781F #1FA435
split-complementary
#1F4BA4 #A4351F #8DA41F
monochromatic
#0C1C3D #153371 #1F4BA4 #2A63D7 #5D88E0
Accessibility & contrast
On white
8.07
#1F4BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#1F4BA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4BA4
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4BA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4BA4 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f4ba4; /* rgb */ color: rgb(31, 75, 164); /* oklch */ color: oklch(43.7% 0.152 262.3);
Tailwind
colors: {
custom: {
50: '#717cc0',
500: '#1f4ba4',
950: '#000000',
},
}SCSS
$custom: #1f4ba4; $custom-light: #717cc0; $custom-dark: #000000;
JSON
{
"hex": "#1f4ba4",
"rgb": {
"r": 31,
"g": 75,
"b": 164
},
"hsl": {
"h": 220.15,
"s": 68.205,
"l": 38.235
},
"oklch": {
"l": 0.43746,
"c": 0.15219,
"h": 262.3
},
"luminance": 0.08004
}Semantic roles & 50–950 ramp
primary
#1F4BA4
secondary
#C5A15A
accent
#B13DEB
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81