#2E23A4#2E23A4
#2E23A4 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.194 H 275.4°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2E23A4 |
|---|---|
| RGB | rgb(46, 35, 164) |
| HSL | hsl(245, 65%, 39%) |
| HSV | hsv(245, 79%, 64%) |
| CMYK | cmyk(72%, 78.7%, 0%, 35.7%) |
| CIE-LAB | lab(25.14, 45.60, -66.76) |
| CIE-LCH | lch(25.14, 80.84, 304.34°) |
| OKLab | oklab(37.47% 0.0182 -0.193) |
| OKLCH | oklch(37.47% 0.194 275.4) |
| XYZ | xyz(8.4264, 4.4624, 35.5320) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.90
Royal
#0C1793
ΔE00 4.23
Cobalt Blue
#030AA7
ΔE00 4.47
Ultramarine
#2000B1
ΔE00 4.70
Royal Blue (survey)
#0504AA
ΔE00 4.87
True Blue
#010FCC
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E23A4 #99A423
analogous
#2359A4 #2E23A4 #6F23A4
triadic
#2E23A4 #A42E23 #23A42E
tetradic
#2E23A4 #A42359 #99A423 #23A46F
square
#2E23A4 #A42359 #99A423 #23A46F
split-complementary
#2E23A4 #A46F23 #59A423
monochromatic
#120D3F #201872 #2E23A4 #3F31D3 #6E64DE
Accessibility & contrast
On white
11.10
#2E23A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2E23A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E23A4
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E23A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E23A4 | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0036A2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e23a4; /* rgb */ color: rgb(46, 35, 164); /* oklch */ color: oklch(37.5% 0.194 275.4);
Tailwind
colors: {
custom: {
50: '#7a61c0',
500: '#2e23a4',
950: '#000000',
},
}SCSS
$custom: #2e23a4; $custom-light: #7a61c0; $custom-dark: #000000;
JSON
{
"hex": "#2e23a4",
"rgb": {
"r": 46,
"g": 35,
"b": 164
},
"hsl": {
"h": 245.116,
"s": 64.824,
"l": 39.02
},
"oklch": {
"l": 0.37467,
"c": 0.19387,
"h": 275.4
},
"luminance": 0.04463
}Semantic roles & 50–950 ramp
primary
#2E23A4
secondary
#BBC360
accent
#E840D9
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981