#2E2689#2E2689
#2E2689 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.157 H 278.1°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2689 |
|---|---|
| RGB | rgb(46, 38, 137) |
| HSL | hsl(245, 57%, 34%) |
| HSV | hsv(245, 72%, 54%) |
| CMYK | cmyk(66.4%, 72.3%, 0%, 46.3%) |
| CIE-LAB | lab(22.91, 35.02, -53.83) |
| CIE-LCH | lch(22.91, 64.22, 303.04°) |
| OKLab | oklab(35.03% 0.0222 -0.1554) |
| OKLCH | oklch(35.03% 0.157 278.1) |
| XYZ | xyz(6.3337, 3.7727, 24.0565) |
| Luminance | 0.0377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.37
Midnight Blue
#191970
ΔE00 5.03
Indigo Blue
#3A18B1
ΔE00 6.56
Cobalt Blue
#030AA7
ΔE00 6.70
Indigo (survey)
#380282
ΔE00 6.71
Sapphire (survey)
#2138AB
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2689 #818926
analogous
#265089 #2E2689 #5F2689
triadic
#2E2689 #892E26 #26892E
tetradic
#2E2689 #892650 #818926 #26895F
square
#2E2689 #892650 #818926 #26895F
split-complementary
#2E2689 #895F26 #508926
monochromatic
#0E0B29 #1E1959 #2E2689 #3E33B9 #6259D1
Accessibility & contrast
On white
11.97
#2E2689 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2E2689 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2689
11.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2689 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2689 | 1.00 | 11.97 | 1.75 | 11.97 |
| #FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2e2689; /* rgb */ color: rgb(46, 38, 137); /* oklch */ color: oklch(35.0% 0.157 278.1);
Tailwind
colors: {
custom: {
50: '#7361ac',
500: '#2e2689',
950: '#000000',
},
}SCSS
$custom: #2e2689; $custom-light: #7361ac; $custom-dark: #000000;
JSON
{
"hex": "#2e2689",
"rgb": {
"r": 46,
"g": 38,
"b": 137
},
"hsl": {
"h": 244.848,
"s": 56.571,
"l": 34.314
},
"oklch": {
"l": 0.35034,
"c": 0.15694,
"h": 278.1
},
"luminance": 0.03773
}Semantic roles & 50–950 ramp
primary
#2E2689
secondary
#AEB655
accent
#E048D4
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F