#2E239B#2E239B
#2E239B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.5% C 0.183 H 276.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2E239B |
|---|---|
| RGB | rgb(46, 35, 155) |
| HSL | hsl(246, 63%, 37%) |
| HSV | hsv(246, 77%, 61%) |
| CMYK | cmyk(70.3%, 77.4%, 0%, 39.2%) |
| CIE-LAB | lab(24.16, 42.71, -62.90) |
| CIE-LCH | lch(24.16, 76.03, 304.18°) |
| OKLab | oklab(36.48% 0.0203 -0.1818) |
| OKLCH | oklch(36.48% 0.183 276.4) |
| XYZ | xyz(7.6422, 4.1488, 31.4020) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.62
Indigo Blue
#3A18B1
ΔE00 3.84
Cobalt Blue
#030AA7
ΔE00 4.68
Royal Blue (survey)
#0504AA
ΔE00 5.15
Ultramarine
#2000B1
ΔE00 5.24
Sapphire (survey)
#2138AB
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E239B #909B23
analogous
#23549B #2E239B #6A239B
triadic
#2E239B #9B2E23 #239B2E
tetradic
#2E239B #9B2354 #909B23 #239B6A
square
#2E239B #9B2354 #909B23 #239B6A
split-complementary
#2E239B #9B6A23 #549B23
monochromatic
#100C37 #1F1869 #2E239B #3D2ECD #695EDB
Accessibility & contrast
On white
11.48
#2E239B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2E239B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E239B
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E239B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E239B | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2e239b; /* rgb */ color: rgb(46, 35, 155); /* oklch */ color: oklch(36.5% 0.183 276.4);
Tailwind
colors: {
custom: {
50: '#7860ba',
500: '#2e239b',
950: '#000000',
},
}SCSS
$custom: #2e239b; $custom-light: #7860ba; $custom-dark: #000000;
JSON
{
"hex": "#2e239b",
"rgb": {
"r": 46,
"g": 35,
"b": 155
},
"hsl": {
"h": 245.5,
"s": 63.158,
"l": 37.255
},
"oklch": {
"l": 0.36482,
"c": 0.18294,
"h": 276.4
},
"luminance": 0.04149
}Semantic roles & 50–950 ramp
primary
#2E239B
secondary
#B6BF5A
accent
#E642D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981