#1F4AA0#1F4AA0
#1F4AA0 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.148 H 262.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4AA0 |
|---|---|
| RGB | rgb(31, 74, 160) |
| HSL | hsl(220, 68%, 37%) |
| HSV | hsv(220, 81%, 63%) |
| CMYK | cmyk(80.6%, 53.7%, 0%, 37.3%) |
| CIE-LAB | lab(33.41, 17.92, -50.84) |
| CIE-LCH | lch(33.41, 53.90, 289.41°) |
| OKLab | oklab(43.21% -0.0201 -0.1465) |
| OKLCH | oklch(43.21% 0.148 262.2) |
| XYZ | xyz(9.3567, 7.7258, 34.2490) |
| Luminance | 0.0773 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.90
Cobalt (survey)
#1E488F
ΔE00 2.42
Sapphire
#0F52BA
ΔE00 4.04
Dusk Blue
#26538D
ΔE00 4.40
Darkish Blue
#014182
ΔE00 5.22
Light Navy
#155084
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4AA0 #A0751F
analogous
#1F8AA0 #1F4AA0 #351FA0
triadic
#1F4AA0 #A01F4A #4AA01F
tetradic
#1F4AA0 #A01F8A #A0751F #1FA035
square
#1F4AA0 #A01F8A #A0751F #1FA035
split-complementary
#1F4AA0 #A0351F #8AA01F
monochromatic
#0B1B39 #15326D #1F4AA0 #2962D3 #5A87DF
Accessibility & contrast
On white
8.25
#1F4AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#1F4AA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4AA0
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4AA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4AA0 | 1.00 | 8.25 | 2.55 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0755A3
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #1f4aa0; /* rgb */ color: rgb(31, 74, 160); /* oklch */ color: oklch(43.2% 0.148 262.2);
Tailwind
colors: {
custom: {
50: '#707bbd',
500: '#1f4aa0',
950: '#000000',
},
}SCSS
$custom: #1f4aa0; $custom-light: #707bbd; $custom-dark: #000000;
JSON
{
"hex": "#1f4aa0",
"rgb": {
"r": 31,
"g": 74,
"b": 160
},
"hsl": {
"h": 220,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.43208,
"c": 0.14791,
"h": 262.2
},
"luminance": 0.07727
}Semantic roles & 50–950 ramp
primary
#1F4AA0
secondary
#C39F58
accent
#B13DEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81