#2047B2#2047B2
#2047B2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.176 H 264.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2047B2 |
|---|---|
| RGB | rgb(32, 71, 178) |
| HSL | hsl(224, 70%, 41%) |
| HSV | hsv(224, 82%, 70%) |
| CMYK | cmyk(82%, 60.1%, 0%, 30.2%) |
| CIE-LAB | lab(34.04, 27.11, -60.56) |
| CIE-LCH | lch(34.04, 66.35, 294.11°) |
| OKLab | oklab(44.14% -0.0162 -0.1751) |
| OKLCH | oklch(44.14% 0.176 264.7) |
| XYZ | xyz(10.8819, 8.0266, 43.0866) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.33
Blue Blue
#2242C7
ΔE00 3.63
Sapphire
#0F52BA
ΔE00 4.13
Sapphire (survey)
#2138AB
ΔE00 4.75
Cobalt (survey)
#1E488F
ΔE00 5.32
Blue (survey)
#0343DF
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2047B2 #B28B20
analogous
#2090B2 #2047B2 #4220B2
triadic
#2047B2 #B22047 #47B220
tetradic
#2047B2 #B22090 #B28B20 #20B242
square
#2047B2 #B22090 #B28B20 #20B242
split-complementary
#2047B2 #B24220 #90B220
monochromatic
#0D1E4A #17327E #2047B2 #3561DB #6889E4
Accessibility & contrast
On white
8.06
#2047B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2047B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2047B2
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2047B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2047B2 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2047b2; /* rgb */ color: rgb(32, 71, 178); /* oklch */ color: oklch(44.1% 0.176 264.7);
Tailwind
colors: {
custom: {
50: '#7579ca',
500: '#2047b2',
950: '#000000',
},
}SCSS
$custom: #2047b2; $custom-light: #7579ca; $custom-dark: #000000;
JSON
{
"hex": "#2047b2",
"rgb": {
"r": 32,
"g": 71,
"b": 178
},
"hsl": {
"h": 223.973,
"s": 69.524,
"l": 41.176
},
"oklch": {
"l": 0.44141,
"c": 0.17589,
"h": 264.7
},
"luminance": 0.08028
}Semantic roles & 50–950 ramp
primary
#2047B2
secondary
#CAAE64
accent
#BD3BEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82