#2E2EA7#2E2EA7
#2E2EA7 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.187 H 273.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2EA7 |
|---|---|
| RGB | rgb(46, 46, 167) |
| HSL | hsl(240, 57%, 42%) |
| HSV | hsv(240, 72%, 65%) |
| CMYK | cmyk(72.5%, 72.5%, 0%, 34.5%) |
| CIE-LAB | lab(27.64, 40.44, -64.45) |
| CIE-LCH | lch(27.64, 76.09, 302.11°) |
| OKLab | oklab(39.33% 0.012 -0.1864) |
| OKLCH | oklch(39.33% 0.187 273.7) |
| XYZ | xyz(9.0764, 5.3240, 37.1010) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.32
Indigo Blue
#3A18B1
ΔE00 4.84
Royal
#0C1793
ΔE00 6.20
True Blue
#010FCC
ΔE00 6.52
Ocean Blue
#4F42B5
ΔE00 6.59
Blueberry
#464196
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2EA7 #A7A72E
analogous
#2E6BA7 #2E2EA7 #6B2EA7
triadic
#2E2EA7 #A72E2E #2EA72E
tetradic
#2E2EA7 #A72E6B #A7A72E #2EA76B
square
#2E2EA7 #A72E6B #A7A72E #2EA76B
split-complementary
#2E2EA7 #A76B2E #6BA72E
monochromatic
#141447 #212177 #2E2EA7 #4646CC #7676D9
Accessibility & contrast
On white
10.17
#2E2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2E2EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2EA7
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2EA7 | 1.00 | 10.17 | 2.07 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e2ea7; /* rgb */ color: rgb(46, 46, 167); /* oklch */ color: oklch(39.3% 0.187 273.7);
Tailwind
colors: {
custom: {
50: '#7968c2',
500: '#2e2ea7',
950: '#000000',
},
}SCSS
$custom: #2e2ea7; $custom-light: #7968c2; $custom-dark: #000000;
JSON
{
"hex": "#2e2ea7",
"rgb": {
"r": 46,
"g": 46,
"b": 167
},
"hsl": {
"h": 240,
"s": 56.808,
"l": 41.765
},
"oklch": {
"l": 0.39326,
"c": 0.18679,
"h": 273.7
},
"luminance": 0.05325
}Semantic roles & 50–950 ramp
primary
#2E2EA7
secondary
#C1C170
accent
#E048E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82