#2E1B92#2E1B92
#2E1B92 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.5% C 0.179 H 278.6°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1B92 |
|---|---|
| RGB | rgb(46, 27, 146) |
| HSL | hsl(250, 69%, 34%) |
| HSV | hsv(250, 82%, 57%) |
| CMYK | cmyk(68.5%, 81.5%, 0%, 42.7%) |
| CIE-LAB | lab(21.72, 43.99, -61.38) |
| CIE-LCH | lch(21.72, 75.52, 305.63°) |
| OKLab | oklab(34.49% 0.0268 -0.1773) |
| OKLCH | oklch(34.49% 0.179 278.6) |
| XYZ | xyz(6.7053, 3.4395, 27.4991) |
| Luminance | 0.0344 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.67
Cobalt Blue
#030AA7
ΔE00 4.11
Indigo Blue
#3A18B1
ΔE00 4.53
Royal Blue (survey)
#0504AA
ΔE00 4.56
Indigo (survey)
#380282
ΔE00 4.60
Ultramarine
#2000B1
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1B92 #7F921B
analogous
#1B4492 #2E1B92 #6A1B92
triadic
#2E1B92 #922E1B #1B922E
tetradic
#2E1B92 #921B44 #7F921B #1B926A
square
#2E1B92 #921B44 #7F921B #1B926A
split-complementary
#2E1B92 #926A1B #44921B
monochromatic
#0D082B #1E115E #2E1B92 #3E25C6 #614ADE
Accessibility & contrast
On white
12.44
#2E1B92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2E1B92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1B92
12.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1B92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1B92 | 1.00 | 12.44 | 1.69 | 12.44 |
| #FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#002F90
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2e1b92; /* rgb */ color: rgb(46, 27, 146); /* oklch */ color: oklch(34.5% 0.179 278.6);
Tailwind
colors: {
custom: {
50: '#765bb3',
500: '#2e1b92',
950: '#000000',
},
}SCSS
$custom: #2e1b92; $custom-light: #765bb3; $custom-dark: #000000;
JSON
{
"hex": "#2e1b92",
"rgb": {
"r": 46,
"g": 27,
"b": 146
},
"hsl": {
"h": 249.58,
"s": 68.786,
"l": 33.922
},
"oklch": {
"l": 0.34487,
"c": 0.1793,
"h": 278.6
},
"luminance": 0.0344
}Semantic roles & 50–950 ramp
primary
#2E1B92
secondary
#ADBF49
accent
#EC3CD0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980