#2E39B0#2E39B0
#2E39B0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.186 H 271.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2E39B0 |
|---|---|
| RGB | rgb(46, 57, 176) |
| HSL | hsl(235, 59%, 44%) |
| HSV | hsv(235, 74%, 69%) |
| CMYK | cmyk(73.9%, 67.6%, 0%, 31%) |
| CIE-LAB | lab(30.97, 36.85, -64.36) |
| CIE-LCH | lch(30.97, 74.17, 299.80°) |
| OKLab | oklab(42% 0.0045 -0.1861) |
| OKLCH | oklch(42% 0.186 271.4) |
| XYZ | xyz(10.4237, 6.6406, 41.7983) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.50
Blue Blue
#2242C7
ΔE00 3.96
Ocean Blue
#4F42B5
ΔE00 4.70
Blueberry
#464196
ΔE00 5.54
Blue With A Hint Of Purple
#533CC6
ΔE00 5.81
Blurple
#5539CC
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E39B0 #B0A52E
analogous
#2E7AB0 #2E39B0 #642EB0
triadic
#2E39B0 #B02E39 #39B02E
tetradic
#2E39B0 #B02E7A #B0A52E #2EB064
square
#2E39B0 #B02E7A #B0A52E #2EB064
split-complementary
#2E39B0 #B0642E #7AB02E
monochromatic
#151A4F #21297F #2E39B0 #4B56D0 #7C84DD
Accessibility & contrast
On white
9.02
#2E39B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2E39B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E39B0
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E39B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E39B0 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0043AE
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2e39b0; /* rgb */ color: rgb(46, 57, 176); /* oklch */ color: oklch(42.0% 0.186 271.4);
Tailwind
colors: {
custom: {
50: '#7b70c9',
500: '#2e39b0',
950: '#000000',
},
}SCSS
$custom: #2e39b0; $custom-light: #7b70c9; $custom-dark: #000000;
JSON
{
"hex": "#2e39b0",
"rgb": {
"r": 46,
"g": 57,
"b": 176
},
"hsl": {
"h": 234.923,
"s": 58.559,
"l": 43.529
},
"oklch": {
"l": 0.41995,
"c": 0.1862,
"h": 271.4
},
"luminance": 0.06642
}Semantic roles & 50–950 ramp
primary
#2E39B0
secondary
#C5BE75
accent
#D546E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82