#1F479E#1F479E
#1F479E is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.149 H 263.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #1F479E |
|---|---|
| RGB | rgb(31, 71, 158) |
| HSL | hsl(221, 67%, 37%) |
| HSV | hsv(221, 80%, 62%) |
| CMYK | cmyk(80.4%, 55.1%, 0%, 38%) |
| CIE-LAB | lab(32.40, 19.16, -51.25) |
| CIE-LCH | lch(32.40, 54.72, 290.49°) |
| OKLab | oklab(42.4% -0.0181 -0.1478) |
| OKLCH | oklch(42.4% 0.149 263) |
| XYZ | xyz(8.9877, 7.2653, 33.2698) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.94
Cobalt (survey)
#1E488F
ΔE00 2.43
Sapphire
#0F52BA
ΔE00 4.88
Darkish Blue
#014182
ΔE00 4.94
Dusk Blue
#26538D
ΔE00 5.19
Twilight Blue
#0A437A
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F479E #9E761F
analogous
#1F879E #1F479E #361F9E
triadic
#1F479E #9E1F47 #479E1F
tetradic
#1F479E #9E1F87 #9E761F #1F9E36
square
#1F479E #9E1F87 #9E761F #1F9E36
split-complementary
#1F479E #9E361F #879E1F
monochromatic
#0B1938 #15306B #1F479E #295ED1 #5983DE
Accessibility & contrast
On white
8.56
#1F479E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#1F479E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F479E
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F479E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F479E | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f479e; /* rgb */ color: rgb(31, 71, 158); /* oklch */ color: oklch(42.4% 0.149 263.0);
Tailwind
colors: {
custom: {
50: '#7079bb',
500: '#1f479e',
950: '#000000',
},
}SCSS
$custom: #1f479e; $custom-light: #7079bb; $custom-dark: #000000;
JSON
{
"hex": "#1f479e",
"rgb": {
"r": 31,
"g": 71,
"b": 158
},
"hsl": {
"h": 221.102,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.424,
"c": 0.14894,
"h": 263
},
"luminance": 0.07266
}Semantic roles & 50–950 ramp
primary
#1F479E
secondary
#C2A056
accent
#B43EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81