#2E47B6#2E47B6
#2E47B6 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.178 H 268.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2E47B6 |
|---|---|
| RGB | rgb(46, 71, 182) |
| HSL | hsl(229, 60%, 45%) |
| HSV | hsv(229, 75%, 71%) |
| CMYK | cmyk(74.7%, 61%, 0%, 28.6%) |
| CIE-LAB | lab(34.93, 30.05, -61.45) |
| CIE-LCH | lch(34.93, 68.40, 296.06°) |
| OKLab | oklab(45.06% -0.0049 -0.1775) |
| OKLCH | oklch(45.06% 0.178 268.4) |
| XYZ | xyz(11.8205, 8.4634, 45.2575) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.70
Cobalt
#0047AB
ΔE00 3.95
Sapphire (survey)
#2138AB
ΔE00 4.57
Sapphire
#0F52BA
ΔE00 4.99
Blue (survey)
#0343DF
ΔE00 5.13
Ocean Blue
#4F42B5
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E47B6 #B69D2E
analogous
#2E8BB6 #2E47B6 #592EB6
triadic
#2E47B6 #B62E47 #47B62E
tetradic
#2E47B6 #B62E8B #B69D2E #2EB659
square
#2E47B6 #B62E8B #B69D2E #2EB659
split-complementary
#2E47B6 #B6592E #8BB62E
monochromatic
#152154 #223485 #2E47B6 #4F67D2 #8091DF
Accessibility & contrast
On white
7.80
#2E47B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2E47B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E47B6
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E47B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E47B6 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#004CB4
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2e47b6; /* rgb */ color: rgb(46, 71, 182); /* oklch */ color: oklch(45.1% 0.178 268.4);
Tailwind
colors: {
custom: {
50: '#7b7acd',
500: '#2e47b6',
950: '#000000',
},
}SCSS
$custom: #2e47b6; $custom-light: #7b7acd; $custom-dark: #000000;
JSON
{
"hex": "#2e47b6",
"rgb": {
"r": 46,
"g": 71,
"b": 182
},
"hsl": {
"h": 228.971,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.45063,
"c": 0.17757,
"h": 268.4
},
"luminance": 0.08465
}Semantic roles & 50–950 ramp
primary
#2E47B6
secondary
#C8B978
accent
#C645E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82