#2E1C9F#2E1C9F
#2E1C9F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.1% C 0.194 H 276.7°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1C9F |
|---|---|
| RGB | rgb(46, 28, 159) |
| HSL | hsl(248, 70%, 37%) |
| HSV | hsv(248, 82%, 62%) |
| CMYK | cmyk(71.1%, 82.4%, 0%, 37.6%) |
| CIE-LAB | lab(23.38, 47.50, -66.63) |
| CIE-LCH | lch(23.38, 81.83, 305.49°) |
| OKLab | oklab(36.08% 0.0225 -0.1925) |
| OKLCH | oklch(36.08% 0.194 276.7) |
| XYZ | xyz(7.7979, 3.9138, 33.1387) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.86
Royal
#0C1793
ΔE00 3.27
Cobalt Blue
#030AA7
ΔE00 3.42
Ultramarine
#2000B1
ΔE00 3.77
Royal Blue (survey)
#0504AA
ΔE00 3.81
True Blue
#010FCC
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1C9F #8D9F1C
analogous
#1C4C9F #2E1C9F #701C9F
triadic
#2E1C9F #9F2E1C #1C9F2E
tetradic
#2E1C9F #9F1C4C #8D9F1C #1C9F70
square
#2E1C9F #9F1C4C #8D9F1C #1C9F70
split-complementary
#2E1C9F #9F701C #4C9F1C
monochromatic
#100A37 #1F136B #2E1C9F #3D25D3 #6854E1
Accessibility & contrast
On white
11.78
#2E1C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2E1C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1C9F
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1C9F | 1.00 | 11.78 | 1.78 | 11.78 |
| #FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e1c9f; /* rgb */ color: rgb(46, 28, 159); /* oklch */ color: oklch(36.1% 0.194 276.7);
Tailwind
colors: {
custom: {
50: '#795dbd',
500: '#2e1c9f',
950: '#000000',
},
}SCSS
$custom: #2e1c9f; $custom-light: #795dbd; $custom-dark: #000000;
JSON
{
"hex": "#2e1c9f",
"rgb": {
"r": 46,
"g": 28,
"b": 159
},
"hsl": {
"h": 248.244,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.36075,
"c": 0.19386,
"h": 276.7
},
"luminance": 0.03915
}Semantic roles & 50–950 ramp
primary
#2E1C9F
secondary
#B5C453
accent
#ED3BD4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981