#2E226F#2E226F
#2E226F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.127 H 283.6°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2E226F |
|---|---|
| RGB | rgb(46, 34, 111) |
| HSL | hsl(249, 53%, 28%) |
| HSV | hsv(249, 69%, 44%) |
| CMYK | cmyk(58.6%, 69.4%, 0%, 56.5%) |
| CIE-LAB | lab(19.52, 28.65, -42.84) |
| CIE-LCH | lch(19.52, 51.54, 303.77°) |
| OKLab | oklab(31.85% 0.0299 -0.1232) |
| OKLCH | oklch(31.85% 0.127 283.6) |
| XYZ | xyz(4.5671, 2.8723, 15.3496) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.48
Dark Indigo
#1F0954
ΔE00 6.78
Royal
#0C1793
ΔE00 7.12
Darkblue (survey)
#030764
ΔE00 7.15
Indigo (survey)
#380282
ΔE00 7.15
Dark Royal Blue
#02066F
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E226F #636F22
analogous
#223C6F #2E226F #54226F
triadic
#2E226F #6F2E22 #226F2E
tetradic
#2E226F #6F223C #636F22 #226F54
square
#2E226F #6F223C #636F22 #226F54
split-complementary
#2E226F #6F5422 #3C6F22
monochromatic
#0A0717 #1B1440 #2E226F #41309E #5945C6
Accessibility & contrast
On white
13.34
#2E226F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#2E226F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E226F
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E226F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E226F | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#0F3545
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2e226f; /* rgb */ color: rgb(46, 34, 111); /* oklch */ color: oklch(31.8% 0.127 283.6);
Tailwind
colors: {
custom: {
50: '#6e5e99',
500: '#2e226f',
950: '#000000',
},
}SCSS
$custom: #2e226f; $custom-light: #6e5e99; $custom-dark: #000000;
JSON
{
"hex": "#2e226f",
"rgb": {
"r": 46,
"g": 34,
"b": 111
},
"hsl": {
"h": 249.351,
"s": 53.103,
"l": 28.431
},
"oklch": {
"l": 0.31846,
"c": 0.12674,
"h": 283.6
},
"luminance": 0.02873
}Semantic roles & 50–950 ramp
primary
#2E226F
secondary
#95A24A
accent
#DD4BC6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E