#2047A4#2047A4
#2047A4 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.157 H 263.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2047A4 |
|---|---|
| RGB | rgb(32, 71, 164) |
| HSL | hsl(222, 67%, 38%) |
| HSV | hsv(222, 80%, 64%) |
| CMYK | cmyk(80.5%, 56.7%, 0%, 35.7%) |
| CIE-LAB | lab(32.90, 21.64, -54.05) |
| CIE-LCH | lch(32.90, 58.22, 291.81°) |
| OKLab | oklab(42.93% -0.0169 -0.156) |
| OKLCH | oklch(42.93% 0.157 263.8) |
| XYZ | xyz(9.5474, 7.4928, 36.0578) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.62
Cobalt (survey)
#1E488F
ΔE00 3.34
Sapphire
#0F52BA
ΔE00 4.51
Sapphire (survey)
#2138AB
ΔE00 5.35
Blue Blue
#2242C7
ΔE00 5.58
Dusk Blue
#26538D
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2047A4 #A47D20
analogous
#2089A4 #2047A4 #3B20A4
triadic
#2047A4 #A42047 #47A420
tetradic
#2047A4 #A42089 #A47D20 #20A43B
square
#2047A4 #A42089 #A47D20 #20A43B
split-complementary
#2047A4 #A43B20 #89A420
monochromatic
#0C1B3E #163171 #2047A4 #2B5ED6 #5F85E0
Accessibility & contrast
On white
8.40
#2047A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2047A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2047A4
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2047A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2047A4 | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2047a4; /* rgb */ color: rgb(32, 71, 164); /* oklch */ color: oklch(42.9% 0.157 263.8);
Tailwind
colors: {
custom: {
50: '#7279c0',
500: '#2047a4',
950: '#000000',
},
}SCSS
$custom: #2047a4; $custom-light: #7279c0; $custom-dark: #000000;
JSON
{
"hex": "#2047a4",
"rgb": {
"r": 32,
"g": 71,
"b": 164
},
"hsl": {
"h": 222.273,
"s": 67.347,
"l": 38.431
},
"oklch": {
"l": 0.42934,
"c": 0.15695,
"h": 263.8
},
"luminance": 0.07494
}Semantic roles & 50–950 ramp
primary
#2047A4
secondary
#C4A55C
accent
#B73EEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81