#2E39B5#2E39B5
#2E39B5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.5% C 0.193 H 271.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2E39B5 |
|---|---|
| RGB | rgb(46, 57, 181) |
| HSL | hsl(235, 59%, 45%) |
| HSV | hsv(235, 75%, 71%) |
| CMYK | cmyk(74.6%, 68.5%, 0%, 29%) |
| CIE-LAB | lab(31.44, 38.62, -66.57) |
| CIE-LCH | lch(31.44, 76.96, 300.12°) |
| OKLab | oklab(42.48% 0.004 -0.1926) |
| OKLCH | oklch(42.48% 0.193 271.2) |
| XYZ | xyz(10.9275, 6.8421, 44.4519) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.02
Blue Blue
#2242C7
ΔE00 3.53
Ocean Blue
#4F42B5
ΔE00 4.52
Blue With A Hint Of Purple
#533CC6
ΔE00 5.35
Blue (survey)
#0343DF
ΔE00 5.96
Blurple
#5539CC
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E39B5 #B5AA2E
analogous
#2E7DB5 #2E39B5 #672EB5
triadic
#2E39B5 #B52E39 #39B52E
tetradic
#2E39B5 #B52E7D #B5AA2E #2EB567
square
#2E39B5 #B52E7D #B5AA2E #2EB567
split-complementary
#2E39B5 #B5672E #7DB52E
monochromatic
#151A53 #222A84 #2E39B5 #4E59D2 #7F87DE
Accessibility & contrast
On white
8.87
#2E39B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2E39B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E39B5
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E39B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E39B5 | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2e39b5; /* rgb */ color: rgb(46, 57, 181); /* oklch */ color: oklch(42.5% 0.193 271.2);
Tailwind
colors: {
custom: {
50: '#7c70cc',
500: '#2e39b5',
950: '#000000',
},
}SCSS
$custom: #2e39b5; $custom-light: #7c70cc; $custom-dark: #000000;
JSON
{
"hex": "#2e39b5",
"rgb": {
"r": 46,
"g": 57,
"b": 181
},
"hsl": {
"h": 235.111,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.42479,
"c": 0.19262,
"h": 271.2
},
"luminance": 0.06843
}Semantic roles & 50–950 ramp
primary
#2E39B5
secondary
#C7C178
accent
#D645E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82