#2E237B#2E237B
#2E237B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.142 H 281.0°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2E237B |
|---|---|
| RGB | rgb(46, 35, 123) |
| HSL | hsl(248, 56%, 31%) |
| HSV | hsv(248, 72%, 48%) |
| CMYK | cmyk(62.6%, 71.5%, 0%, 51.8%) |
| CIE-LAB | lab(20.88, 32.09, -48.33) |
| CIE-LCH | lch(20.88, 58.02, 303.59°) |
| OKLab | oklab(33.16% 0.0271 -0.1393) |
| OKLCH | oklch(33.16% 0.142 281) |
| XYZ | xyz(5.3018, 3.2126, 19.0758) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.50
Royal
#0C1793
ΔE00 5.37
Indigo (survey)
#380282
ΔE00 6.34
Dark Royal Blue
#02066F
ΔE00 7.03
Deep Blue
#040273
ΔE00 7.41
Navy
#000080
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E237B #707B23
analogous
#23447B #2E237B #5A237B
triadic
#2E237B #7B2E23 #237B2E
tetradic
#2E237B #7B2344 #707B23 #237B5A
square
#2E237B #7B2344 #707B23 #237B5A
split-complementary
#2E237B #7B5A23 #447B23
monochromatic
#0A081C #1C154B #2E237B #4031AB #5C4CCC
Accessibility & contrast
On white
12.78
#2E237B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#2E237B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E237B
12.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E237B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E237B | 1.00 | 12.78 | 1.64 | 12.78 |
| #FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2e237b; /* rgb */ color: rgb(46, 35, 123); /* oklch */ color: oklch(33.2% 0.142 281.0);
Tailwind
colors: {
custom: {
50: '#715fa2',
500: '#2e237b',
950: '#000000',
},
}SCSS
$custom: #2e237b; $custom-light: #715fa2; $custom-dark: #000000;
JSON
{
"hex": "#2e237b",
"rgb": {
"r": 46,
"g": 35,
"b": 123
},
"hsl": {
"h": 247.5,
"s": 55.696,
"l": 30.98
},
"oklch": {
"l": 0.33164,
"c": 0.14187,
"h": 281
},
"luminance": 0.03213
}Semantic roles & 50–950 ramp
primary
#2E237B
secondary
#A1AE4C
accent
#DF49CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F