#2E39AB#2E39AB
#2E39AB is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.180 H 271.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2E39AB |
|---|---|
| RGB | rgb(46, 57, 171) |
| HSL | hsl(235, 58%, 43%) |
| HSV | hsv(235, 73%, 67%) |
| CMYK | cmyk(73.1%, 66.7%, 0%, 32.9%) |
| CIE-LAB | lab(30.51, 35.07, -62.13) |
| CIE-LCH | lch(30.51, 71.35, 299.44°) |
| OKLab | oklab(41.52% 0.0049 -0.1796) |
| OKLCH | oklch(41.52% 0.18 271.6) |
| XYZ | xyz(9.9380, 6.4464, 39.2407) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.19
Blue Blue
#2242C7
ΔE00 4.46
Ocean Blue
#4F42B5
ΔE00 4.95
Blueberry
#464196
ΔE00 5.11
Blue With A Hint Of Purple
#533CC6
ΔE00 6.33
Cobalt
#0047AB
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E39AB #ABA02E
analogous
#2E78AB #2E39AB #612EAB
triadic
#2E39AB #AB2E39 #39AB2E
tetradic
#2E39AB #AB2E78 #ABA02E #2EAB61
square
#2E39AB #AB2E78 #ABA02E #2EAB61
split-complementary
#2E39AB #AB612E #78AB2E
monochromatic
#14194B #21297B #2E39AB #4854CE #7981DB
Accessibility & contrast
On white
9.17
#2E39AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2E39AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E39AB
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E39AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E39AB | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e39ab; /* rgb */ color: rgb(46, 57, 171); /* oklch */ color: oklch(41.5% 0.180 271.6);
Tailwind
colors: {
custom: {
50: '#796fc5',
500: '#2e39ab',
950: '#000000',
},
}SCSS
$custom: #2e39ab; $custom-light: #796fc5; $custom-dark: #000000;
JSON
{
"hex": "#2e39ab",
"rgb": {
"r": 46,
"g": 57,
"b": 171
},
"hsl": {
"h": 234.72,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.41517,
"c": 0.1797,
"h": 271.6
},
"luminance": 0.06447
}Semantic roles & 50–950 ramp
primary
#2E39AB
secondary
#C3BC72
accent
#D347E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82