#2E47A2#2E47A2
#2E47A2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.150 H 268.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2E47A2 |
|---|---|
| RGB | rgb(46, 71, 162) |
| HSL | hsl(227, 56%, 41%) |
| HSV | hsv(227, 72%, 64%) |
| CMYK | cmyk(71.6%, 56.2%, 0%, 36.5%) |
| CIE-LAB | lab(33.34, 22.58, -52.12) |
| CIE-LCH | lch(33.34, 56.80, 293.42°) |
| OKLab | oklab(43.38% -0.0054 -0.1501) |
| OKLCH | oklch(43.38% 0.15 268) |
| XYZ | xyz(9.8993, 7.6949, 35.1390) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.10
Cobalt (survey)
#1E488F
ΔE00 4.13
Sapphire (survey)
#2138AB
ΔE00 4.97
Blueberry
#464196
ΔE00 5.27
Sapphire
#0F52BA
ΔE00 5.32
Blue Blue
#2242C7
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E47A2 #A2892E
analogous
#2E81A2 #2E47A2 #4F2EA2
triadic
#2E47A2 #A22E47 #47A22E
tetradic
#2E47A2 #A22E81 #A2892E #2EA24F
square
#2E47A2 #A22E81 #A2892E #2EA24F
split-complementary
#2E47A2 #A24F2E #81A22E
monochromatic
#131D43 #203272 #2E47A2 #4360CA #7389D7
Accessibility & contrast
On white
8.27
#2E47A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2E47A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E47A2
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E47A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E47A2 | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2e47a2; /* rgb */ color: rgb(46, 71, 162); /* oklch */ color: oklch(43.4% 0.150 268.0);
Tailwind
colors: {
custom: {
50: '#7679be',
500: '#2e47a2',
950: '#000000',
},
}SCSS
$custom: #2e47a2; $custom-light: #7679be; $custom-dark: #000000;
JSON
{
"hex": "#2e47a2",
"rgb": {
"r": 46,
"g": 71,
"b": 162
},
"hsl": {
"h": 227.069,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.43377,
"c": 0.15019,
"h": 268
},
"luminance": 0.07696
}Semantic roles & 50–950 ramp
primary
#2E47A2
secondary
#BFAD6D
accent
#BF49DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81