#2E1E9F#2E1E9F
#2E1E9F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.3% C 0.192 H 276.5°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1E9F |
|---|---|
| RGB | rgb(46, 30, 159) |
| HSL | hsl(247, 68%, 37%) |
| HSV | hsv(247, 81%, 62%) |
| CMYK | cmyk(71.1%, 81.1%, 0%, 37.6%) |
| CIE-LAB | lab(23.71, 46.55, -66.09) |
| CIE-LCH | lch(23.71, 80.83, 305.16°) |
| OKLab | oklab(36.3% 0.0217 -0.191) |
| OKLCH | oklch(36.3% 0.192 276.5) |
| XYZ | xyz(7.8470, 4.0119, 33.1550) |
| Luminance | 0.0401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.95
Royal
#0C1793
ΔE00 3.37
Cobalt Blue
#030AA7
ΔE00 3.70
Ultramarine
#2000B1
ΔE00 4.08
Royal Blue (survey)
#0504AA
ΔE00 4.11
True Blue
#010FCC
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1E9F #8F9F1E
analogous
#1E4F9F #2E1E9F #6F1E9F
triadic
#2E1E9F #9F2E1E #1E9F2E
tetradic
#2E1E9F #9F1E4F #8F9F1E #1E9F6F
square
#2E1E9F #9F1E4F #8F9F1E #1E9F6F
split-complementary
#2E1E9F #9F6F1E #4F9F1E
monochromatic
#100B38 #1F146C #2E1E9F #3D28D2 #6958DF
Accessibility & contrast
On white
11.65
#2E1E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2E1E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1E9F
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1E9F | 1.00 | 11.65 | 1.80 | 11.65 |
| #FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e1e9f; /* rgb */ color: rgb(46, 30, 159); /* oklch */ color: oklch(36.3% 0.192 276.5);
Tailwind
colors: {
custom: {
50: '#795ebd',
500: '#2e1e9f',
950: '#000000',
},
}SCSS
$custom: #2e1e9f; $custom-light: #795ebd; $custom-dark: #000000;
JSON
{
"hex": "#2e1e9f",
"rgb": {
"r": 46,
"g": 30,
"b": 159
},
"hsl": {
"h": 247.442,
"s": 68.254,
"l": 37.059
},
"oklch": {
"l": 0.36301,
"c": 0.19224,
"h": 276.5
},
"luminance": 0.04013
}Semantic roles & 50–950 ramp
primary
#2E1E9F
secondary
#B6C356
accent
#EB3DD5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981