#2A1E9E#2A1E9E
#2A1E9E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.192 H 274.9°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2A1E9E |
|---|---|
| RGB | rgb(42, 30, 158) |
| HSL | hsl(246, 68%, 37%) |
| HSV | hsv(246, 81%, 62%) |
| CMYK | cmyk(73.4%, 81%, 0%, 38%) |
| CIE-LAB | lab(23.30, 45.90, -66.16) |
| CIE-LCH | lch(23.30, 80.53, 304.75°) |
| OKLab | oklab(35.91% 0.0164 -0.1913) |
| OKLCH | oklch(35.91% 0.192 274.9) |
| XYZ | xyz(7.5886, 3.8887, 32.6918) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.99
Indigo Blue
#3A18B1
ΔE00 3.29
Cobalt Blue
#030AA7
ΔE00 3.54
Royal Blue (survey)
#0504AA
ΔE00 4.00
Ultramarine
#2000B1
ΔE00 4.13
True Blue
#010FCC
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A1E9E #929E1E
analogous
#1E529E #2A1E9E #6A1E9E
triadic
#2A1E9E #9E2A1E #1E9E2A
tetradic
#2A1E9E #9E1E52 #929E1E #1E9E6A
square
#2A1E9E #9E1E52 #929E1E #1E9E6A
split-complementary
#2A1E9E #9E6A1E #529E1E
monochromatic
#0F0A37 #1C146B #2A1E9E #3828D1 #6457DF
Accessibility & contrast
On white
11.81
#2A1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2A1E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A1E9E
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A1E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A1E9E | 1.00 | 11.81 | 1.78 | 11.81 |
| #FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2a1e9e; /* rgb */ color: rgb(42, 30, 158); /* oklch */ color: oklch(35.9% 0.192 274.9);
Tailwind
colors: {
custom: {
50: '#775ebc',
500: '#2a1e9e',
950: '#000000',
},
}SCSS
$custom: #2a1e9e; $custom-light: #775ebc; $custom-dark: #000000;
JSON
{
"hex": "#2a1e9e",
"rgb": {
"r": 42,
"g": 30,
"b": 158
},
"hsl": {
"h": 245.625,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.35906,
"c": 0.19203,
"h": 274.9
},
"luminance": 0.03889
}Semantic roles & 50–950 ramp
primary
#2A1E9E
secondary
#B8C355
accent
#EB3DDB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981