#1F47A6#1F47A6
#1F47A6 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.160 H 263.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1F47A6 |
|---|---|
| RGB | rgb(31, 71, 166) |
| HSL | hsl(222, 69%, 39%) |
| HSV | hsv(222, 81%, 65%) |
| CMYK | cmyk(81.3%, 57.2%, 0%, 34.9%) |
| CIE-LAB | lab(33.03, 22.32, -55.05) |
| CIE-LCH | lch(33.03, 59.41, 292.07°) |
| OKLab | oklab(43.07% -0.0175 -0.159) |
| OKLCH | oklch(43.07% 0.16 263.7) |
| XYZ | xyz(9.6988, 7.5498, 37.0151) |
| Luminance | 0.0755 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.51
Cobalt (survey)
#1E488F
ΔE00 3.58
Sapphire
#0F52BA
ΔE00 4.38
Sapphire (survey)
#2138AB
ΔE00 5.25
Blue Blue
#2242C7
ΔE00 5.33
Dusk Blue
#26538D
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F47A6 #A67E1F
analogous
#1F8AA6 #1F47A6 #3A1FA6
triadic
#1F47A6 #A61F47 #47A61F
tetradic
#1F47A6 #A61F8A #A67E1F #1FA63A
square
#1F47A6 #A61F8A #A67E1F #1FA63A
split-complementary
#1F47A6 #A63A1F #8AA61F
monochromatic
#0C1B3F #153172 #1F47A6 #2B5ED7 #5E85E1
Accessibility & contrast
On white
8.37
#1F47A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#1F47A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F47A6
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F47A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F47A6 | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1f47a6; /* rgb */ color: rgb(31, 71, 166); /* oklch */ color: oklch(43.1% 0.160 263.7);
Tailwind
colors: {
custom: {
50: '#7279c1',
500: '#1f47a6',
950: '#000000',
},
}SCSS
$custom: #1f47a6; $custom-light: #7279c1; $custom-dark: #000000;
JSON
{
"hex": "#1f47a6",
"rgb": {
"r": 31,
"g": 71,
"b": 166
},
"hsl": {
"h": 222.222,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.43068,
"c": 0.15996,
"h": 263.7
},
"luminance": 0.07551
}Semantic roles & 50–950 ramp
primary
#1F47A6
secondary
#C5A65B
accent
#B83CEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81