#2E47B9#2E47B9
#2E47B9 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.182 H 268.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2E47B9 |
|---|---|
| RGB | rgb(46, 71, 185) |
| HSL | hsl(229, 60%, 45%) |
| HSV | hsv(229, 75%, 73%) |
| CMYK | cmyk(75.1%, 61.6%, 0%, 27.5%) |
| CIE-LAB | lab(35.18, 31.16, -62.81) |
| CIE-LCH | lch(35.18, 70.11, 296.38°) |
| OKLab | oklab(45.33% -0.0049 -0.1815) |
| OKLCH | oklch(45.33% 0.182 268.5) |
| XYZ | xyz(12.1339, 8.5888, 46.9078) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.35
Cobalt
#0047AB
ΔE00 4.22
Sapphire (survey)
#2138AB
ΔE00 4.69
Blue (survey)
#0343DF
ΔE00 4.74
Sapphire
#0F52BA
ΔE00 5.07
Ocean Blue
#4F42B5
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E47B9 #B9A02E
analogous
#2E8CB9 #2E47B9 #5B2EB9
triadic
#2E47B9 #B92E47 #47B92E
tetradic
#2E47B9 #B92E8C #B9A02E #2EB95B
square
#2E47B9 #B92E8C #B9A02E #2EB95B
split-complementary
#2E47B9 #B95B2E #8CB92E
monochromatic
#162157 #223488 #2E47B9 #5168D4 #8293E0
Accessibility & contrast
On white
7.73
#2E47B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2E47B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E47B9
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E47B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E47B9 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2e47b9; /* rgb */ color: rgb(46, 71, 185); /* oklch */ color: oklch(45.3% 0.182 268.5);
Tailwind
colors: {
custom: {
50: '#7b7acf',
500: '#2e47b9',
950: '#000000',
},
}SCSS
$custom: #2e47b9; $custom-light: #7b7acf; $custom-dark: #000000;
JSON
{
"hex": "#2e47b9",
"rgb": {
"r": 46,
"g": 71,
"b": 185
},
"hsl": {
"h": 229.209,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.45326,
"c": 0.18156,
"h": 268.5
},
"luminance": 0.0859
}Semantic roles & 50–950 ramp
primary
#2E47B9
secondary
#C9BB7A
accent
#C744E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82