#2E2E99#2E2E99
#2E2E99 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.169 H 274.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E99 |
|---|---|
| RGB | rgb(46, 46, 153) |
| HSL | hsl(240, 54%, 39%) |
| HSV | hsv(240, 70%, 60%) |
| CMYK | cmyk(69.9%, 69.9%, 0%, 40%) |
| CIE-LAB | lab(26.26, 35.62, -58.22) |
| CIE-LCH | lch(26.26, 68.25, 301.46°) |
| OKLab | oklab(37.92% 0.0141 -0.1682) |
| OKLCH | oklch(37.92% 0.169 274.8) |
| XYZ | xyz(7.8516, 4.8340, 30.6501) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.96
Royal
#0C1793
ΔE00 5.71
Indigo Blue
#3A18B1
ΔE00 5.96
Blueberry
#464196
ΔE00 6.05
Darkslateblue
#483D8B
ΔE00 6.27
Cobalt Blue
#030AA7
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E99 #99992E
analogous
#2E6499 #2E2E99 #642E99
triadic
#2E2E99 #992E2E #2E992E
tetradic
#2E2E99 #992E64 #99992E #2E9964
square
#2E2E99 #992E64 #99992E #2E9964
split-complementary
#2E2E99 #99642E #64992E
monochromatic
#12123B #20206A #2E2E99 #3F3FC5 #6E6ED3
Accessibility & contrast
On white
10.68
#2E2E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2E2E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E99
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E99 | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2e2e99; /* rgb */ color: rgb(46, 46, 153); /* oklch */ color: oklch(37.9% 0.169 274.8);
Tailwind
colors: {
custom: {
50: '#7667b8',
500: '#2e2e99',
950: '#000000',
},
}SCSS
$custom: #2e2e99; $custom-light: #7667b8; $custom-dark: #000000;
JSON
{
"hex": "#2e2e99",
"rgb": {
"r": 46,
"g": 46,
"b": 153
},
"hsl": {
"h": 240,
"s": 53.769,
"l": 39.02
},
"oklch": {
"l": 0.37916,
"c": 0.1688,
"h": 274.8
},
"luminance": 0.04835
}Semantic roles & 50–950 ramp
primary
#2E2E99
secondary
#BBBB68
accent
#DD4BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80