#1F4AA7#1F4AA7
#1F4AA7 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.158 H 262.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4AA7 |
|---|---|
| RGB | rgb(31, 74, 167) |
| HSL | hsl(221, 69%, 39%) |
| HSV | hsv(221, 81%, 65%) |
| CMYK | cmyk(81.4%, 55.7%, 0%, 34.5%) |
| CIE-LAB | lab(33.94, 20.69, -54.17) |
| CIE-LCH | lch(33.94, 57.99, 290.90°) |
| OKLab | oklab(43.78% -0.0195 -0.1564) |
| OKLCH | oklch(43.78% 0.158 262.9) |
| XYZ | xyz(9.9864, 7.9777, 37.5652) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.49
Cobalt (survey)
#1E488F
ΔE00 3.42
Sapphire
#0F52BA
ΔE00 3.50
Dusk Blue
#26538D
ΔE00 5.11
Blue Blue
#2242C7
ΔE00 5.77
Darkish Blue
#014182
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4AA7 #A77C1F
analogous
#1F8EA7 #1F4AA7 #381FA7
triadic
#1F4AA7 #A71F4A #4AA71F
tetradic
#1F4AA7 #A71F8E #A77C1F #1FA738
square
#1F4AA7 #A71F8E #A77C1F #1FA738
split-complementary
#1F4AA7 #A7381F #8EA71F
monochromatic
#0C1C40 #153373 #1F4AA7 #2B62D8 #5F88E1
Accessibility & contrast
On white
8.09
#1F4AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#1F4AA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4AA7
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4AA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4AA7 | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f4aa7; /* rgb */ color: rgb(31, 74, 167); /* oklch */ color: oklch(43.8% 0.158 262.9);
Tailwind
colors: {
custom: {
50: '#727bc2',
500: '#1f4aa7',
950: '#000000',
},
}SCSS
$custom: #1f4aa7; $custom-light: #727bc2; $custom-dark: #000000;
JSON
{
"hex": "#1f4aa7",
"rgb": {
"r": 31,
"g": 74,
"b": 167
},
"hsl": {
"h": 221.029,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.43779,
"c": 0.15757,
"h": 262.9
},
"luminance": 0.07979
}Semantic roles & 50–950 ramp
primary
#1F4AA7
secondary
#C6A45C
accent
#B43CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81