#1F4FA0#1F4FA0
#1F4FA0 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.142 H 260.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4FA0 |
|---|---|
| RGB | rgb(31, 79, 160) |
| HSL | hsl(218, 68%, 37%) |
| HSV | hsv(218, 81%, 63%) |
| CMYK | cmyk(80.6%, 50.6%, 0%, 37.3%) |
| CIE-LAB | lab(34.84, 14.54, -48.51) |
| CIE-LCH | lch(34.84, 50.64, 286.68°) |
| OKLab | oklab(44.31% -0.0239 -0.1396) |
| OKLCH | oklch(44.31% 0.142 260.3) |
| XYZ | xyz(9.7039, 8.4202, 34.3647) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.97
Dusk Blue
#26538D
ΔE00 3.00
Cobalt
#0047AB
ΔE00 3.09
Sapphire
#0F52BA
ΔE00 3.30
Denim Blue
#3B5B92
ΔE00 4.72
Light Navy
#155084
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4FA0 #A0701F
analogous
#1F90A0 #1F4FA0 #2F1FA0
triadic
#1F4FA0 #A01F4F #4FA01F
tetradic
#1F4FA0 #A01F90 #A0701F #1FA02F
square
#1F4FA0 #A01F90 #A0701F #1FA02F
split-complementary
#1F4FA0 #A02F1F #90A01F
monochromatic
#0B1C39 #15366D #1F4FA0 #2968D3 #5A8CDF
Accessibility & contrast
On white
7.82
#1F4FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#1F4FA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4FA0
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4FA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4FA0 | 1.00 | 7.82 | 2.68 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D58A3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #1f4fa0; /* rgb */ color: rgb(31, 79, 160); /* oklch */ color: oklch(44.3% 0.142 260.3);
Tailwind
colors: {
custom: {
50: '#707fbd',
500: '#1f4fa0',
950: '#000000',
},
}SCSS
$custom: #1f4fa0; $custom-light: #707fbd; $custom-dark: #000000;
JSON
{
"hex": "#1f4fa0",
"rgb": {
"r": 31,
"g": 79,
"b": 160
},
"hsl": {
"h": 217.674,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.44305,
"c": 0.14162,
"h": 260.3
},
"luminance": 0.08421
}Semantic roles & 50–950 ramp
primary
#1F4FA0
secondary
#C39B58
accent
#AA3DEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81