#1F4CA8#1F4CA8
#1F4CA8 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.156 H 262.4°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4CA8 |
|---|---|
| RGB | rgb(31, 76, 168) |
| HSL | hsl(220, 69%, 39%) |
| HSV | hsv(220, 82%, 66%) |
| CMYK | cmyk(81.5%, 54.8%, 0%, 34.1%) |
| CIE-LAB | lab(34.57, 19.74, -53.74) |
| CIE-LCH | lch(34.57, 57.25, 290.17°) |
| OKLab | oklab(44.28% -0.0208 -0.155) |
| OKLCH | oklch(44.28% 0.156 262.4) |
| XYZ | xyz(10.2149, 8.2861, 38.0992) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.83
Sapphire
#0F52BA
ΔE00 2.94
Cobalt (survey)
#1E488F
ΔE00 3.54
Dusk Blue
#26538D
ΔE00 4.68
Denim Blue
#3B5B92
ΔE00 5.92
Blue Blue
#2242C7
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4CA8 #A87B1F
analogous
#1F91A8 #1F4CA8 #371FA8
triadic
#1F4CA8 #A81F4C #4CA81F
tetradic
#1F4CA8 #A81F91 #A87B1F #1FA837
square
#1F4CA8 #A81F91 #A87B1F #1FA837
split-complementary
#1F4CA8 #A8371F #91A81F
monochromatic
#0C1D41 #153574 #1F4CA8 #2C65D8 #608AE2
Accessibility & contrast
On white
7.90
#1F4CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#1F4CA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4CA8
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4CA8 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1f4ca8; /* rgb */ color: rgb(31, 76, 168); /* oklch */ color: oklch(44.3% 0.156 262.4);
Tailwind
colors: {
custom: {
50: '#727dc3',
500: '#1f4ca8',
950: '#000000',
},
}SCSS
$custom: #1f4ca8; $custom-light: #727dc3; $custom-dark: #000000;
JSON
{
"hex": "#1f4ca8",
"rgb": {
"r": 31,
"g": 76,
"b": 168
},
"hsl": {
"h": 220.292,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.44284,
"c": 0.15642,
"h": 262.4
},
"luminance": 0.08287
}Semantic roles & 50–950 ramp
primary
#1F4CA8
secondary
#C6A45D
accent
#B23CEC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090912
muted
#7B7B81