#1F479F#1F479F
#1F479F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.150 H 263.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1F479F |
|---|---|
| RGB | rgb(31, 71, 159) |
| HSL | hsl(221, 67%, 37%) |
| HSV | hsv(221, 81%, 62%) |
| CMYK | cmyk(80.5%, 55.3%, 0%, 37.6%) |
| CIE-LAB | lab(32.48, 19.55, -51.73) |
| CIE-LCH | lch(32.48, 55.31, 290.71°) |
| OKLab | oklab(42.48% -0.018 -0.1492) |
| OKLCH | oklch(42.48% 0.15 263.1) |
| XYZ | xyz(9.0741, 7.2999, 33.7249) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.85
Cobalt (survey)
#1E488F
ΔE00 2.57
Sapphire
#0F52BA
ΔE00 4.80
Darkish Blue
#014182
ΔE00 5.07
Dusk Blue
#26538D
ΔE00 5.27
Sapphire (survey)
#2138AB
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F479F #9F771F
analogous
#1F879F #1F479F #371F9F
triadic
#1F479F #9F1F47 #479F1F
tetradic
#1F479F #9F1F87 #9F771F #1F9F37
square
#1F479F #9F1F87 #9F771F #1F9F37
split-complementary
#1F479F #9F371F #879F1F
monochromatic
#0B1939 #15306C #1F479F #295ED2 #5A83DF
Accessibility & contrast
On white
8.54
#1F479F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#1F479F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F479F
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F479F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F479F | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f479f; /* rgb */ color: rgb(31, 71, 159); /* oklch */ color: oklch(42.5% 0.150 263.1);
Tailwind
colors: {
custom: {
50: '#7079bc',
500: '#1f479f',
950: '#000000',
},
}SCSS
$custom: #1f479f; $custom-light: #7079bc; $custom-dark: #000000;
JSON
{
"hex": "#1f479f",
"rgb": {
"r": 31,
"g": 71,
"b": 159
},
"hsl": {
"h": 221.25,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.42483,
"c": 0.15032,
"h": 263.1
},
"luminance": 0.07301
}Semantic roles & 50–950 ramp
primary
#1F479F
secondary
#C3A157
accent
#B43EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81