#2E22B3#2E22B3
#2E22B3 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.0% C 0.212 H 274.0°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2E22B3 |
|---|---|
| RGB | rgb(46, 34, 179) |
| HSL | hsl(245, 68%, 42%) |
| HSV | hsv(245, 81%, 70%) |
| CMYK | cmyk(74.3%, 81%, 0%, 29.8%) |
| CIE-LAB | lab(26.67, 50.78, -73.25) |
| CIE-LCH | lch(26.67, 89.13, 304.73°) |
| OKLab | oklab(39.03% 0.0148 -0.2119) |
| OKLCH | oklch(39.03% 0.212 274) |
| XYZ | xyz(9.8327, 4.9786, 43.0818) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.07
True Blue
#010FCC
ΔE00 3.71
Ultramarine
#2000B1
ΔE00 4.39
Mediumblue
#0000CD
ΔE00 4.47
Cobalt Blue
#030AA7
ΔE00 4.82
Ultramarine Blue
#1805DB
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E22B3 #A7B322
analogous
#225EB3 #2E22B3 #7722B3
triadic
#2E22B3 #B32E22 #22B32E
tetradic
#2E22B3 #B3225E #A7B322 #22B377
square
#2E22B3 #B3225E #A7B322 #22B377
split-complementary
#2E22B3 #B37722 #5EB322
monochromatic
#140E4C #211880 #2E22B3 #4639D9 #766CE3
Accessibility & contrast
On white
10.52
#2E22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2E22B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E22B3
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E22B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E22B3 | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B7
Deuteranopia (green-blind)
#0038B1
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e22b3; /* rgb */ color: rgb(46, 34, 179); /* oklch */ color: oklch(39.0% 0.212 274.0);
Tailwind
colors: {
custom: {
50: '#7d61cb',
500: '#2e22b3',
950: '#000000',
},
}SCSS
$custom: #2e22b3; $custom-light: #7d61cb; $custom-dark: #000000;
JSON
{
"hex": "#2e22b3",
"rgb": {
"r": 46,
"g": 34,
"b": 179
},
"hsl": {
"h": 244.966,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.39029,
"c": 0.21238,
"h": 274
},
"luminance": 0.0498
}Semantic roles & 50–950 ramp
primary
#2E22B3
secondary
#C1C968
accent
#EB3DDD
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0513
muted
#7D7982