#1F479C#1F479C
#1F479C is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.146 H 262.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1F479C |
|---|---|
| RGB | rgb(31, 71, 156) |
| HSL | hsl(221, 67%, 37%) |
| HSV | hsv(221, 80%, 61%) |
| CMYK | cmyk(80.1%, 54.5%, 0%, 38.8%) |
| CIE-LAB | lab(32.25, 18.36, -50.29) |
| CIE-LCH | lch(32.25, 53.54, 290.06°) |
| OKLab | oklab(42.24% -0.0183 -0.145) |
| OKLCH | oklch(42.24% 0.146 262.8) |
| XYZ | xyz(8.8169, 7.1971, 32.3705) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.14
Cobalt
#0047AB
ΔE00 2.14
Darkish Blue
#014182
ΔE00 4.69
Dusk Blue
#26538D
ΔE00 5.03
Sapphire
#0F52BA
ΔE00 5.03
Twilight Blue
#0A437A
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F479C #9C741F
analogous
#1F869C #1F479C #361F9C
triadic
#1F479C #9C1F47 #479C1F
tetradic
#1F479C #9C1F86 #9C741F #1F9C36
square
#1F479C #9C1F86 #9C741F #1F9C36
split-complementary
#1F479C #9C361F #869C1F
monochromatic
#0B1936 #153069 #1F479C #295ECF #5883DE
Accessibility & contrast
On white
8.61
#1F479C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#1F479C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F479C
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F479C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F479C | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#01529F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f479c; /* rgb */ color: rgb(31, 71, 156); /* oklch */ color: oklch(42.2% 0.146 262.8);
Tailwind
colors: {
custom: {
50: '#6f79ba',
500: '#1f479c',
950: '#000000',
},
}SCSS
$custom: #1f479c; $custom-light: #6f79ba; $custom-dark: #000000;
JSON
{
"hex": "#1f479c",
"rgb": {
"r": 31,
"g": 71,
"b": 156
},
"hsl": {
"h": 220.8,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.42237,
"c": 0.14614,
"h": 262.8
},
"luminance": 0.07198
}Semantic roles & 50–950 ramp
primary
#1F479C
secondary
#C19F55
accent
#B33EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81