#1F4BA1#1F4BA1
#1F4BA1 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.5% C 0.148 H 261.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4BA1 |
|---|---|
| RGB | rgb(31, 75, 161) |
| HSL | hsl(220, 68%, 38%) |
| HSV | hsv(220, 81%, 63%) |
| CMYK | cmyk(80.7%, 53.4%, 0%, 36.9%) |
| CIE-LAB | lab(33.76, 17.64, -50.86) |
| CIE-LCH | lch(33.76, 53.83, 289.13°) |
| OKLab | oklab(43.51% -0.0207 -0.1466) |
| OKLCH | oklch(43.51% 0.148 261.9) |
| XYZ | xyz(9.5119, 7.8955, 34.7340) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.98
Cobalt (survey)
#1E488F
ΔE00 2.56
Sapphire
#0F52BA
ΔE00 3.74
Dusk Blue
#26538D
ΔE00 4.20
Darkish Blue
#014182
ΔE00 5.40
Light Navy
#155084
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4BA1 #A1751F
analogous
#1F8CA1 #1F4BA1 #341FA1
triadic
#1F4BA1 #A11F4B #4BA11F
tetradic
#1F4BA1 #A11F8C #A1751F #1FA134
square
#1F4BA1 #A11F8C #A1751F #1FA134
split-complementary
#1F4BA1 #A1341F #8CA11F
monochromatic
#0B1B3A #15336E #1F4BA1 #2963D4 #5B88DF
Accessibility & contrast
On white
8.14
#1F4BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#1F4BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4BA1
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4BA1 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A56A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #1f4ba1; /* rgb */ color: rgb(31, 75, 161); /* oklch */ color: oklch(43.5% 0.148 261.9);
Tailwind
colors: {
custom: {
50: '#707cbd',
500: '#1f4ba1',
950: '#000000',
},
}SCSS
$custom: #1f4ba1; $custom-light: #707cbd; $custom-dark: #000000;
JSON
{
"hex": "#1f4ba1",
"rgb": {
"r": 31,
"g": 75,
"b": 161
},
"hsl": {
"h": 219.692,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.43505,
"c": 0.14804,
"h": 261.9
},
"luminance": 0.07897
}Semantic roles & 50–950 ramp
primary
#1F4BA1
secondary
#C49F58
accent
#B03DEB
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81