#2E23A0#2E23A0
#2E23A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.189 H 275.8°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2E23A0 |
|---|---|
| RGB | rgb(46, 35, 160) |
| HSL | hsl(245, 64%, 38%) |
| HSV | hsv(245, 78%, 63%) |
| CMYK | cmyk(71.2%, 78.1%, 0%, 37.3%) |
| CIE-LAB | lab(24.70, 44.32, -65.05) |
| CIE-LCH | lch(24.70, 78.72, 304.27°) |
| OKLab | oklab(37.03% 0.0191 -0.1881) |
| OKLCH | oklch(37.03% 0.189 275.8) |
| XYZ | xyz(8.0708, 4.3202, 33.6594) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.29
Royal
#0C1793
ΔE00 3.92
Cobalt Blue
#030AA7
ΔE00 4.51
Ultramarine
#2000B1
ΔE00 4.90
Royal Blue (survey)
#0504AA
ΔE00 4.95
True Blue
#010FCC
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E23A0 #95A023
analogous
#2356A0 #2E23A0 #6C23A0
triadic
#2E23A0 #A02E23 #23A02E
tetradic
#2E23A0 #A02356 #95A023 #23A06C
square
#2E23A0 #A02356 #95A023 #23A06C
split-complementary
#2E23A0 #A06C23 #56A023
monochromatic
#110D3C #20186E #2E23A0 #3D2FD1 #6C61DC
Accessibility & contrast
On white
11.26
#2E23A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2E23A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E23A0
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E23A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E23A0 | 1.00 | 11.26 | 1.86 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2e23a0; /* rgb */ color: rgb(46, 35, 160); /* oklch */ color: oklch(37.0% 0.189 275.8);
Tailwind
colors: {
custom: {
50: '#7961bd',
500: '#2e23a0',
950: '#000000',
},
}SCSS
$custom: #2e23a0; $custom-light: #7961bd; $custom-dark: #000000;
JSON
{
"hex": "#2e23a0",
"rgb": {
"r": 46,
"g": 35,
"b": 160
},
"hsl": {
"h": 245.28,
"s": 64.103,
"l": 38.235
},
"oklch": {
"l": 0.37027,
"c": 0.18904,
"h": 275.8
},
"luminance": 0.04321
}Semantic roles & 50–950 ramp
primary
#2E23A0
secondary
#B9C15D
accent
#E741D8
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981