#1F4CA7#1F4CA7
#1F4CA7 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.155 H 262.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4CA7 |
|---|---|
| RGB | rgb(31, 76, 167) |
| HSL | hsl(220, 69%, 39%) |
| HSV | hsv(220, 81%, 65%) |
| CMYK | cmyk(81.4%, 54.5%, 0%, 34.5%) |
| CIE-LAB | lab(34.50, 19.34, -53.27) |
| CIE-LCH | lch(34.50, 56.67, 289.96°) |
| OKLab | oklab(44.2% -0.0208 -0.1536) |
| OKLCH | oklch(44.2% 0.155 262.3) |
| XYZ | xyz(10.1221, 8.2490, 37.6105) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.85
Sapphire
#0F52BA
ΔE00 3.02
Cobalt (survey)
#1E488F
ΔE00 3.40
Dusk Blue
#26538D
ΔE00 4.57
Denim Blue
#3B5B92
ΔE00 5.86
Light Navy
#155084
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4CA7 #A77A1F
analogous
#1F90A7 #1F4CA7 #361FA7
triadic
#1F4CA7 #A71F4C #4CA71F
tetradic
#1F4CA7 #A71F90 #A77A1F #1FA736
square
#1F4CA7 #A71F90 #A77A1F #1FA736
split-complementary
#1F4CA7 #A7361F #90A71F
monochromatic
#0C1D40 #153573 #1F4CA7 #2B64D8 #5F8AE1
Accessibility & contrast
On white
7.92
#1F4CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#1F4CA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4CA7
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4CA7 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1f4ca7; /* rgb */ color: rgb(31, 76, 167); /* oklch */ color: oklch(44.2% 0.155 262.3);
Tailwind
colors: {
custom: {
50: '#727dc2',
500: '#1f4ca7',
950: '#000000',
},
}SCSS
$custom: #1f4ca7; $custom-light: #727dc2; $custom-dark: #000000;
JSON
{
"hex": "#1f4ca7",
"rgb": {
"r": 31,
"g": 76,
"b": 167
},
"hsl": {
"h": 220.147,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.44203,
"c": 0.15506,
"h": 262.3
},
"luminance": 0.0825
}Semantic roles & 50–950 ramp
primary
#1F4CA7
secondary
#C6A35C
accent
#B23CEC
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81