#1F479A#1F479A
#1F479A is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.143 H 262.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1F479A |
|---|---|
| RGB | rgb(31, 71, 154) |
| HSL | hsl(220, 66%, 36%) |
| HSV | hsv(220, 80%, 60%) |
| CMYK | cmyk(79.9%, 53.9%, 0%, 39.6%) |
| CIE-LAB | lab(32.10, 17.56, -49.32) |
| CIE-LCH | lch(32.10, 52.36, 289.60°) |
| OKLab | oklab(42.08% -0.0185 -0.1421) |
| OKLCH | oklch(42.08% 0.143 262.6) |
| XYZ | xyz(8.6490, 7.1299, 31.4860) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.85
Cobalt
#0047AB
ΔE00 2.36
Darkish Blue
#014182
ΔE00 4.44
Dusk Blue
#26538D
ΔE00 4.88
Sapphire
#0F52BA
ΔE00 5.20
Twilight Blue
#0A437A
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F479A #9A721F
analogous
#1F859A #1F479A #351F9A
triadic
#1F479A #9A1F47 #479A1F
tetradic
#1F479A #9A1F85 #9A721F #1F9A35
square
#1F479A #9A1F85 #9A721F #1F9A35
split-complementary
#1F479A #9A351F #859A1F
monochromatic
#0A1834 #153067 #1F479A #295ECD #5682DD
Accessibility & contrast
On white
8.66
#1F479A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#1F479A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F479A
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F479A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F479A | 1.00 | 8.66 | 2.43 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#07519D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1f479a; /* rgb */ color: rgb(31, 71, 154); /* oklch */ color: oklch(42.1% 0.143 262.6);
Tailwind
colors: {
custom: {
50: '#6f79b8',
500: '#1f479a',
950: '#000000',
},
}SCSS
$custom: #1f479a; $custom-light: #6f79b8; $custom-dark: #000000;
JSON
{
"hex": "#1f479a",
"rgb": {
"r": 31,
"g": 71,
"b": 154
},
"hsl": {
"h": 220.488,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.42075,
"c": 0.14335,
"h": 262.6
},
"luminance": 0.07131
}Semantic roles & 50–950 ramp
primary
#1F479A
secondary
#C19D54
accent
#B23EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80