#2E229B#2E229B
#2E229B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.184 H 276.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2E229B |
|---|---|
| RGB | rgb(46, 34, 155) |
| HSL | hsl(246, 64%, 37%) |
| HSV | hsv(246, 78%, 61%) |
| CMYK | cmyk(70.3%, 78.1%, 0%, 39.2%) |
| CIE-LAB | lab(23.97, 43.25, -63.21) |
| CIE-LCH | lch(23.97, 76.59, 304.38°) |
| OKLab | oklab(36.35% 0.0209 -0.1827) |
| OKLCH | oklch(36.35% 0.184 276.5) |
| XYZ | xyz(7.6132, 4.0908, 31.3924) |
| Luminance | 0.0409 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.49
Indigo Blue
#3A18B1
ΔE00 3.74
Cobalt Blue
#030AA7
ΔE00 4.49
Royal Blue (survey)
#0504AA
ΔE00 4.96
Ultramarine
#2000B1
ΔE00 5.05
True Blue
#010FCC
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E229B #8F9B22
analogous
#22539B #2E229B #6A229B
triadic
#2E229B #9B2E22 #229B2E
tetradic
#2E229B #9B2253 #8F9B22 #229B6A
square
#2E229B #9B2253 #8F9B22 #229B6A
split-complementary
#2E229B #9B6A22 #539B22
monochromatic
#100C37 #1F1769 #2E229B #3D2DCD #695CDB
Accessibility & contrast
On white
11.55
#2E229B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#2E229B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E229B
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E229B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E229B | 1.00 | 11.55 | 1.82 | 11.55 |
| #FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2e229b; /* rgb */ color: rgb(46, 34, 155); /* oklch */ color: oklch(36.4% 0.184 276.5);
Tailwind
colors: {
custom: {
50: '#7860ba',
500: '#2e229b',
950: '#000000',
},
}SCSS
$custom: #2e229b; $custom-light: #7860ba; $custom-dark: #000000;
JSON
{
"hex": "#2e229b",
"rgb": {
"r": 46,
"g": 34,
"b": 155
},
"hsl": {
"h": 245.95,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.3635,
"c": 0.18389,
"h": 276.5
},
"luminance": 0.04091
}Semantic roles & 50–950 ramp
primary
#2E229B
secondary
#B6C059
accent
#E741D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981