#1F47A1#1F47A1
#1F47A1 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.153 H 263.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1F47A1 |
|---|---|
| RGB | rgb(31, 71, 161) |
| HSL | hsl(222, 68%, 38%) |
| HSV | hsv(222, 81%, 63%) |
| CMYK | cmyk(80.7%, 55.9%, 0%, 36.9%) |
| CIE-LAB | lab(32.63, 20.35, -52.69) |
| CIE-LCH | lch(32.63, 56.48, 291.12°) |
| OKLab | oklab(42.65% -0.0179 -0.152) |
| OKLCH | oklch(42.65% 0.153 263.3) |
| XYZ | xyz(9.2490, 7.3699, 34.6464) |
| Luminance | 0.0737 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.70
Cobalt (survey)
#1E488F
ΔE00 2.86
Sapphire
#0F52BA
ΔE00 4.66
Darkish Blue
#014182
ΔE00 5.33
Dusk Blue
#26538D
ΔE00 5.43
Sapphire (survey)
#2138AB
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F47A1 #A1791F
analogous
#1F88A1 #1F47A1 #381FA1
triadic
#1F47A1 #A11F47 #47A11F
tetradic
#1F47A1 #A11F88 #A1791F #1FA138
square
#1F47A1 #A11F88 #A1791F #1FA138
split-complementary
#1F47A1 #A1381F #88A11F
monochromatic
#0B1A3A #15306E #1F47A1 #295ED4 #5B84DF
Accessibility & contrast
On white
8.49
#1F47A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#1F47A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F47A1
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F47A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F47A1 | 1.00 | 8.49 | 2.47 | 8.49 |
| #FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1f47a1; /* rgb */ color: rgb(31, 71, 161); /* oklch */ color: oklch(42.6% 0.153 263.3);
Tailwind
colors: {
custom: {
50: '#7179be',
500: '#1f47a1',
950: '#000000',
},
}SCSS
$custom: #1f47a1; $custom-light: #7179be; $custom-dark: #000000;
JSON
{
"hex": "#1f47a1",
"rgb": {
"r": 31,
"g": 71,
"b": 161
},
"hsl": {
"h": 221.538,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.42648,
"c": 0.15309,
"h": 263.3
},
"luminance": 0.07371
}Semantic roles & 50–950 ramp
primary
#1F47A1
secondary
#C4A358
accent
#B53DEB
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81