#2E39B3#2E39B3
#2E39B3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.190 H 271.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2E39B3 |
|---|---|
| RGB | rgb(46, 57, 179) |
| HSL | hsl(235, 59%, 44%) |
| HSV | hsv(235, 74%, 70%) |
| CMYK | cmyk(74.3%, 68.2%, 0%, 29.8%) |
| CIE-LAB | lab(31.26, 37.92, -65.69) |
| CIE-LCH | lch(31.26, 75.85, 299.99°) |
| OKLab | oklab(42.29% 0.0042 -0.19) |
| OKLCH | oklch(42.29% 0.19 271.3) |
| XYZ | xyz(10.7238, 6.7606, 43.3789) |
| Luminance | 0.0676 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.80
Blue Blue
#2242C7
ΔE00 3.69
Ocean Blue
#4F42B5
ΔE00 4.58
Blue With A Hint Of Purple
#533CC6
ΔE00 5.53
Blueberry
#464196
ΔE00 5.82
Blue (survey)
#0343DF
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E39B3 #B3A82E
analogous
#2E7CB3 #2E39B3 #662EB3
triadic
#2E39B3 #B32E39 #39B32E
tetradic
#2E39B3 #B32E7C #B3A82E #2EB366
square
#2E39B3 #B32E7C #B3A82E #2EB366
split-complementary
#2E39B3 #B3662E #7CB32E
monochromatic
#151A52 #212982 #2E39B3 #4D58D1 #7E86DE
Accessibility & contrast
On white
8.93
#2E39B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2E39B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E39B3
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E39B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E39B3 | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2e39b3; /* rgb */ color: rgb(46, 57, 179); /* oklch */ color: oklch(42.3% 0.190 271.3);
Tailwind
colors: {
custom: {
50: '#7b70cb',
500: '#2e39b3',
950: '#000000',
},
}SCSS
$custom: #2e39b3; $custom-light: #7b70cb; $custom-dark: #000000;
JSON
{
"hex": "#2e39b3",
"rgb": {
"r": 46,
"g": 57,
"b": 179
},
"hsl": {
"h": 235.038,
"s": 59.111,
"l": 44.118
},
"oklch": {
"l": 0.42285,
"c": 0.19007,
"h": 271.3
},
"luminance": 0.06762
}Semantic roles & 50–950 ramp
primary
#2E39B3
secondary
#C6C076
accent
#D546E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82