#2E47B7#2E47B7
#2E47B7 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.179 H 268.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2E47B7 |
|---|---|
| RGB | rgb(46, 71, 183) |
| HSL | hsl(229, 60%, 45%) |
| HSV | hsv(229, 75%, 72%) |
| CMYK | cmyk(74.9%, 61.2%, 0%, 28.2%) |
| CIE-LAB | lab(35.01, 30.42, -61.90) |
| CIE-LCH | lch(35.01, 68.97, 296.17°) |
| OKLab | oklab(45.15% -0.0049 -0.1788) |
| OKLCH | oklch(45.15% 0.179 268.4) |
| XYZ | xyz(11.9242, 8.5049, 45.8037) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.58
Cobalt
#0047AB
ΔE00 4.04
Sapphire (survey)
#2138AB
ΔE00 4.61
Blue (survey)
#0343DF
ΔE00 5.00
Sapphire
#0F52BA
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E47B7 #B79E2E
analogous
#2E8CB7 #2E47B7 #592EB7
triadic
#2E47B7 #B72E47 #47B72E
tetradic
#2E47B7 #B72E8C #B79E2E #2EB759
square
#2E47B7 #B72E8C #B79E2E #2EB759
split-complementary
#2E47B7 #B7592E #8CB72E
monochromatic
#152155 #223486 #2E47B7 #4F67D3 #8092DF
Accessibility & contrast
On white
7.77
#2E47B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2E47B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E47B7
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E47B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E47B7 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#004CB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2e47b7; /* rgb */ color: rgb(46, 71, 183); /* oklch */ color: oklch(45.2% 0.179 268.4);
Tailwind
colors: {
custom: {
50: '#7b7ace',
500: '#2e47b7',
950: '#000000',
},
}SCSS
$custom: #2e47b7; $custom-light: #7b7ace; $custom-dark: #000000;
JSON
{
"hex": "#2e47b7",
"rgb": {
"r": 46,
"g": 71,
"b": 183
},
"hsl": {
"h": 229.051,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.45151,
"c": 0.1789,
"h": 268.4
},
"luminance": 0.08506
}Semantic roles & 50–950 ramp
primary
#2E47B7
secondary
#C8BA79
accent
#C645E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82