#2E2EA6#2E2EA6
#2E2EA6 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.186 H 273.7°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2EA6 |
|---|---|
| RGB | rgb(46, 46, 166) |
| HSL | hsl(240, 57%, 42%) |
| HSV | hsv(240, 72%, 65%) |
| CMYK | cmyk(72.3%, 72.3%, 0%, 34.9%) |
| CIE-LAB | lab(27.54, 40.10, -64.02) |
| CIE-LCH | lch(27.54, 75.54, 302.06°) |
| OKLab | oklab(39.22% 0.0121 -0.1851) |
| OKLCH | oklch(39.22% 0.186 273.7) |
| XYZ | xyz(8.9843, 5.2871, 36.6160) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.34
Indigo Blue
#3A18B1
ΔE00 4.90
Royal
#0C1793
ΔE00 6.14
Blueberry
#464196
ΔE00 6.56
True Blue
#010FCC
ΔE00 6.62
Ocean Blue
#4F42B5
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2EA6 #A6A62E
analogous
#2E6AA6 #2E2EA6 #6A2EA6
triadic
#2E2EA6 #A62E2E #2EA62E
tetradic
#2E2EA6 #A62E6A #A6A62E #2EA66A
square
#2E2EA6 #A62E6A #A6A62E #2EA66A
split-complementary
#2E2EA6 #A66A2E #6AA62E
monochromatic
#131346 #212176 #2E2EA6 #4646CC #7676D9
Accessibility & contrast
On white
10.21
#2E2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2E2EA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2EA6
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2EA6 | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e2ea6; /* rgb */ color: rgb(46, 46, 166); /* oklch */ color: oklch(39.2% 0.186 273.7);
Tailwind
colors: {
custom: {
50: '#7968c2',
500: '#2e2ea6',
950: '#000000',
},
}SCSS
$custom: #2e2ea6; $custom-light: #7968c2; $custom-dark: #000000;
JSON
{
"hex": "#2e2ea6",
"rgb": {
"r": 46,
"g": 46,
"b": 166
},
"hsl": {
"h": 240,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.39223,
"c": 0.18553,
"h": 273.7
},
"luminance": 0.05288
}Semantic roles & 50–950 ramp
primary
#2E2EA6
secondary
#C1C16F
accent
#E048E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81