#2E39B2#2E39B2
#2E39B2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.189 H 271.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2E39B2 |
|---|---|
| RGB | rgb(46, 57, 178) |
| HSL | hsl(235, 59%, 44%) |
| HSV | hsv(235, 74%, 70%) |
| CMYK | cmyk(74.2%, 68%, 0%, 30.2%) |
| CIE-LAB | lab(31.16, 37.56, -65.25) |
| CIE-LCH | lch(31.16, 75.29, 299.93°) |
| OKLab | oklab(42.19% 0.0043 -0.1887) |
| OKLCH | oklch(42.19% 0.189 271.3) |
| XYZ | xyz(10.6230, 6.7203, 42.8482) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.69
Blue Blue
#2242C7
ΔE00 3.78
Ocean Blue
#4F42B5
ΔE00 4.62
Blue With A Hint Of Purple
#533CC6
ΔE00 5.62
Blueberry
#464196
ΔE00 5.72
Blue (survey)
#0343DF
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E39B2 #B2A72E
analogous
#2E7BB2 #2E39B2 #652EB2
triadic
#2E39B2 #B22E39 #39B22E
tetradic
#2E39B2 #B22E7B #B2A72E #2EB265
square
#2E39B2 #B22E7B #B2A72E #2EB265
split-complementary
#2E39B2 #B2652E #7BB22E
monochromatic
#151A51 #212981 #2E39B2 #4C57D1 #7D85DD
Accessibility & contrast
On white
8.96
#2E39B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2E39B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E39B2
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E39B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E39B2 | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2e39b2; /* rgb */ color: rgb(46, 57, 178); /* oklch */ color: oklch(42.2% 0.189 271.3);
Tailwind
colors: {
custom: {
50: '#7b70ca',
500: '#2e39b2',
950: '#000000',
},
}SCSS
$custom: #2e39b2; $custom-light: #7b70ca; $custom-dark: #000000;
JSON
{
"hex": "#2e39b2",
"rgb": {
"r": 46,
"g": 57,
"b": 178
},
"hsl": {
"h": 235,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.42188,
"c": 0.18878,
"h": 271.3
},
"luminance": 0.06721
}Semantic roles & 50–950 ramp
primary
#2E39B2
secondary
#C6BF76
accent
#D546E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82