#2E229D#2E229D
#2E229D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.186 H 276.3°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2E229D |
|---|---|
| RGB | rgb(46, 34, 157) |
| HSL | hsl(246, 64%, 37%) |
| HSV | hsv(246, 78%, 62%) |
| CMYK | cmyk(70.7%, 78.3%, 0%, 38.4%) |
| CIE-LAB | lab(24.19, 43.89, -64.07) |
| CIE-LCH | lch(24.19, 77.67, 304.41°) |
| OKLab | oklab(36.57% 0.0204 -0.1852) |
| OKLCH | oklch(36.57% 0.186 276.3) |
| XYZ | xyz(7.7826, 4.1585, 32.2843) |
| Luminance | 0.0416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.50
Royal
#0C1793
ΔE00 3.60
Cobalt Blue
#030AA7
ΔE00 4.41
Royal Blue (survey)
#0504AA
ΔE00 4.87
Ultramarine
#2000B1
ΔE00 4.90
True Blue
#010FCC
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E229D #919D22
analogous
#22539D #2E229D #6C229D
triadic
#2E229D #9D2E22 #229D2E
tetradic
#2E229D #9D2253 #919D22 #229D6C
square
#2E229D #9D2253 #919D22 #229D6C
split-complementary
#2E229D #9D6C22 #539D22
monochromatic
#110C38 #1F176B #2E229D #3D2DCF #6A5DDC
Accessibility & contrast
On white
11.46
#2E229D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2E229D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E229D
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E229D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E229D | 1.00 | 11.46 | 1.83 | 11.46 |
| #FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00349B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2e229d; /* rgb */ color: rgb(46, 34, 157); /* oklch */ color: oklch(36.6% 0.186 276.3);
Tailwind
colors: {
custom: {
50: '#7860bb',
500: '#2e229d',
950: '#000000',
},
}SCSS
$custom: #2e229d; $custom-light: #7860bb; $custom-dark: #000000;
JSON
{
"hex": "#2e229d",
"rgb": {
"r": 46,
"g": 34,
"b": 157
},
"hsl": {
"h": 245.854,
"s": 64.398,
"l": 37.451
},
"oklch": {
"l": 0.36569,
"c": 0.18632,
"h": 276.3
},
"luminance": 0.04159
}Semantic roles & 50–950 ramp
primary
#2E229D
secondary
#B7C15A
accent
#E740D7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981