#2E236F#2E236F
#2E236F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.125 H 283.3°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2E236F |
|---|---|
| RGB | rgb(46, 35, 111) |
| HSL | hsl(249, 52%, 29%) |
| HSV | hsv(249, 68%, 44%) |
| CMYK | cmyk(58.6%, 68.5%, 0%, 56.5%) |
| CIE-LAB | lab(19.76, 28.01, -42.45) |
| CIE-LCH | lch(19.76, 50.86, 303.42°) |
| OKLab | oklab(32.02% 0.0289 -0.122) |
| OKLCH | oklch(32.02% 0.125 283.3) |
| XYZ | xyz(4.5961, 2.9303, 15.3593) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.65
Dark Indigo
#1F0954
ΔE00 7.00
Royal
#0C1793
ΔE00 7.26
Darkblue (survey)
#030764
ΔE00 7.38
Indigo (survey)
#380282
ΔE00 7.42
Dark Royal Blue
#02066F
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E236F #646F23
analogous
#233E6F #2E236F #54236F
triadic
#2E236F #6F2E23 #236F2E
tetradic
#2E236F #6F233E #646F23 #236F54
square
#2E236F #6F233E #646F23 #236F54
split-complementary
#2E236F #6F5423 #3E6F23
monochromatic
#0A0717 #1B1440 #2E236F #41329E #5A47C5
Accessibility & contrast
On white
13.24
#2E236F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#2E236F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E236F
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E236F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E236F | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#0F3645
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2e236f; /* rgb */ color: rgb(46, 35, 111); /* oklch */ color: oklch(32.0% 0.125 283.3);
Tailwind
colors: {
custom: {
50: '#6e5f99',
500: '#2e236f',
950: '#000000',
},
}SCSS
$custom: #2e236f; $custom-light: #6e5f99; $custom-dark: #000000;
JSON
{
"hex": "#2e236f",
"rgb": {
"r": 46,
"g": 35,
"b": 111
},
"hsl": {
"h": 248.684,
"s": 52.055,
"l": 28.627
},
"oklch": {
"l": 0.32018,
"c": 0.12539,
"h": 283.3
},
"luminance": 0.02931
}Semantic roles & 50–950 ramp
primary
#2E236F
secondary
#96A24C
accent
#DB4CC7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E