#1F4BA9#1F4BA9
#1F4BA9 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.159 H 262.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4BA9 |
|---|---|
| RGB | rgb(31, 75, 169) |
| HSL | hsl(221, 69%, 39%) |
| HSV | hsv(221, 82%, 66%) |
| CMYK | cmyk(81.7%, 55.6%, 0%, 33.7%) |
| CIE-LAB | lab(34.37, 20.81, -54.67) |
| CIE-LCH | lch(34.37, 58.49, 290.84°) |
| OKLab | oklab(44.15% -0.02 -0.1578) |
| OKLCH | oklch(44.15% 0.159 262.8) |
| XYZ | xyz(10.2400, 8.1868, 38.5689) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.62
Sapphire
#0F52BA
ΔE00 3.12
Cobalt (survey)
#1E488F
ΔE00 3.67
Dusk Blue
#26538D
ΔE00 5.05
Blue Blue
#2242C7
ΔE00 5.72
Denim Blue
#3B5B92
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4BA9 #A97D1F
analogous
#1F90A9 #1F4BA9 #381FA9
triadic
#1F4BA9 #A91F4B #4BA91F
tetradic
#1F4BA9 #A91F90 #A97D1F #1FA938
square
#1F4BA9 #A91F90 #A97D1F #1FA938
split-complementary
#1F4BA9 #A9381F #90A91F
monochromatic
#0C1D42 #163475 #1F4BA9 #2D63D8 #608AE2
Accessibility & contrast
On white
7.96
#1F4BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#1F4BA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4BA9
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4BA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4BA9 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1f4ba9; /* rgb */ color: rgb(31, 75, 169); /* oklch */ color: oklch(44.2% 0.159 262.8);
Tailwind
colors: {
custom: {
50: '#727cc3',
500: '#1f4ba9',
950: '#000000',
},
}SCSS
$custom: #1f4ba9; $custom-light: #727cc3; $custom-dark: #000000;
JSON
{
"hex": "#1f4ba9",
"rgb": {
"r": 31,
"g": 75,
"b": 169
},
"hsl": {
"h": 220.87,
"s": 69,
"l": 39.216
},
"oklch": {
"l": 0.44154,
"c": 0.15905,
"h": 262.8
},
"luminance": 0.08188
}Semantic roles & 50–950 ramp
primary
#1F4BA9
secondary
#C7A55D
accent
#B43CEC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090913
muted
#7B7B82