#1F47AE#1F47AE
#1F47AE is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.171 H 264.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1F47AE |
|---|---|
| RGB | rgb(31, 71, 174) |
| HSL | hsl(223, 70%, 40%) |
| HSV | hsv(223, 82%, 68%) |
| CMYK | cmyk(82.2%, 59.2%, 0%, 31.8%) |
| CIE-LAB | lab(33.67, 25.46, -58.78) |
| CIE-LCH | lch(33.67, 64.06, 293.42°) |
| OKLab | oklab(43.76% -0.0171 -0.1699) |
| OKLCH | oklch(43.76% 0.171 264.3) |
| XYZ | xyz(10.4556, 7.8525, 41.0008) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.87
Sapphire
#0F52BA
ΔE00 4.12
Blue Blue
#2242C7
ΔE00 4.21
Cobalt (survey)
#1E488F
ΔE00 4.72
Sapphire (survey)
#2138AB
ΔE00 4.86
Blue (survey)
#0343DF
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F47AE #AE861F
analogous
#1F8EAE #1F47AE #3F1FAE
triadic
#1F47AE #AE1F47 #47AE1F
tetradic
#1F47AE #AE1F8E #AE861F #1FAE3F
square
#1F47AE #AE1F8E #AE861F #1FAE3F
split-complementary
#1F47AE #AE3F1F #8EAE1F
monochromatic
#0C1D46 #16327A #1F47AE #3060DA #6488E3
Accessibility & contrast
On white
8.17
#1F47AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#1F47AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F47AE
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F47AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F47AE | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #1f47ae; /* rgb */ color: rgb(31, 71, 174); /* oklch */ color: oklch(43.8% 0.171 264.3);
Tailwind
colors: {
custom: {
50: '#7479c7',
500: '#1f47ae',
950: '#000000',
},
}SCSS
$custom: #1f47ae; $custom-light: #7479c7; $custom-dark: #000000;
JSON
{
"hex": "#1f47ae",
"rgb": {
"r": 31,
"g": 71,
"b": 174
},
"hsl": {
"h": 223.217,
"s": 69.756,
"l": 40.196
},
"oklch": {
"l": 0.43756,
"c": 0.1708,
"h": 264.3
},
"luminance": 0.07854
}Semantic roles & 50–950 ramp
primary
#1F47AE
secondary
#C8AB60
accent
#BB3BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82