#2E236E#2E236E
#2E236E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.124 H 283.5°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2E236E |
|---|---|
| RGB | rgb(46, 35, 110) |
| HSL | hsl(249, 52%, 28%) |
| HSV | hsv(249, 68%, 43%) |
| CMYK | cmyk(58.2%, 68.2%, 0%, 56.9%) |
| CIE-LAB | lab(19.67, 27.67, -41.95) |
| CIE-LCH | lch(19.67, 50.25, 303.41°) |
| OKLab | oklab(31.92% 0.029 -0.1205) |
| OKLCH | oklch(31.92% 0.124 283.5) |
| XYZ | xyz(4.5414, 2.9084, 15.0709) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.73
Dark Indigo
#1F0954
ΔE00 6.93
Darkblue (survey)
#030764
ΔE00 7.41
Royal
#0C1793
ΔE00 7.43
Dark Royal Blue
#02066F
ΔE00 7.50
Indigo (survey)
#380282
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E236E #636E23
analogous
#233D6E #2E236E #53236E
triadic
#2E236E #6E2E23 #236E2E
tetradic
#2E236E #6E233D #636E23 #236E53
square
#2E236E #6E233D #636E23 #236E53
split-complementary
#2E236E #6E5323 #3D6E23
monochromatic
#0A0717 #1B1440 #2E236E #41329C #5947C4
Accessibility & contrast
On white
13.28
#2E236E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#2E236E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E236E
13.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E236E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E236E | 1.00 | 13.28 | 1.58 | 13.28 |
| #FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#103645
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2e236e; /* rgb */ color: rgb(46, 35, 110); /* oklch */ color: oklch(31.9% 0.124 283.5);
Tailwind
colors: {
custom: {
50: '#6e5e98',
500: '#2e236e',
950: '#000000',
},
}SCSS
$custom: #2e236e; $custom-light: #6e5e98; $custom-dark: #000000;
JSON
{
"hex": "#2e236e",
"rgb": {
"r": 46,
"g": 35,
"b": 110
},
"hsl": {
"h": 248.8,
"s": 51.724,
"l": 28.431
},
"oklch": {
"l": 0.31925,
"c": 0.12398,
"h": 283.5
},
"luminance": 0.02909
}Semantic roles & 50–950 ramp
primary
#2E236E
secondary
#95A14C
accent
#DB4DC6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E