#2E39AD#2E39AD
#2E39AD is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.182 H 271.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2E39AD |
|---|---|
| RGB | rgb(46, 57, 173) |
| HSL | hsl(235, 58%, 43%) |
| HSV | hsv(235, 73%, 68%) |
| CMYK | cmyk(73.4%, 67.1%, 0%, 32.2%) |
| CIE-LAB | lab(30.70, 35.79, -63.03) |
| CIE-LCH | lch(30.70, 72.48, 299.59°) |
| OKLab | oklab(41.71% 0.0047 -0.1822) |
| OKLCH | oklch(41.71% 0.182 271.5) |
| XYZ | xyz(10.1301, 6.5232, 40.2523) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.28
Blue Blue
#2242C7
ΔE00 4.25
Ocean Blue
#4F42B5
ΔE00 4.84
Blueberry
#464196
ΔE00 5.28
Blue With A Hint Of Purple
#533CC6
ΔE00 6.11
Cobalt
#0047AB
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E39AD #ADA22E
analogous
#2E78AD #2E39AD #622EAD
triadic
#2E39AD #AD2E39 #39AD2E
tetradic
#2E39AD #AD2E78 #ADA22E #2EAD62
square
#2E39AD #AD2E78 #ADA22E #2EAD62
split-complementary
#2E39AD #AD622E #78AD2E
monochromatic
#14194C #21297D #2E39AD #4955CF #7A82DC
Accessibility & contrast
On white
9.11
#2E39AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2E39AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E39AD
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E39AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E39AD | 1.00 | 9.11 | 2.30 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0042AB
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e39ad; /* rgb */ color: rgb(46, 57, 173); /* oklch */ color: oklch(41.7% 0.182 271.5);
Tailwind
colors: {
custom: {
50: '#7a6fc6',
500: '#2e39ad',
950: '#000000',
},
}SCSS
$custom: #2e39ad; $custom-light: #7a6fc6; $custom-dark: #000000;
JSON
{
"hex": "#2e39ad",
"rgb": {
"r": 46,
"g": 57,
"b": 173
},
"hsl": {
"h": 234.803,
"s": 57.991,
"l": 42.941
},
"oklch": {
"l": 0.41707,
"c": 0.18231,
"h": 271.5
},
"luminance": 0.06524
}Semantic roles & 50–950 ramp
primary
#2E39AD
secondary
#C4BD73
accent
#D447E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82