#2E3AB6#2E3AB6
#2E3AB6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.193 H 271.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3AB6 |
|---|---|
| RGB | rgb(46, 58, 182) |
| HSL | hsl(235, 60%, 45%) |
| HSV | hsv(235, 75%, 71%) |
| CMYK | cmyk(74.7%, 68.1%, 0%, 28.6%) |
| CIE-LAB | lab(31.77, 38.36, -66.63) |
| CIE-LCH | lch(31.77, 76.88, 299.93°) |
| OKLab | oklab(42.74% 0.0033 -0.1928) |
| OKLCH | oklch(42.74% 0.193 271) |
| XYZ | xyz(11.0804, 6.9832, 45.0108) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.12
Blue Blue
#2242C7
ΔE00 3.24
Ocean Blue
#4F42B5
ΔE00 4.42
Blue With A Hint Of Purple
#533CC6
ΔE00 5.28
Blue (survey)
#0343DF
ΔE00 5.72
Blurple
#5539CC
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3AB6 #B6AA2E
analogous
#2E7EB6 #2E3AB6 #662EB6
triadic
#2E3AB6 #B62E3A #3AB62E
tetradic
#2E3AB6 #B62E7E #B6AA2E #2EB666
square
#2E3AB6 #B62E7E #B6AA2E #2EB666
split-complementary
#2E3AB6 #B6662E #7EB62E
monochromatic
#151B54 #222A85 #2E3AB6 #4F5AD2 #8088DF
Accessibility & contrast
On white
8.76
#2E3AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2E3AB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3AB6
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3AB6 | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2e3ab6; /* rgb */ color: rgb(46, 58, 182); /* oklch */ color: oklch(42.7% 0.193 271.0);
Tailwind
colors: {
custom: {
50: '#7c70cd',
500: '#2e3ab6',
950: '#000000',
},
}SCSS
$custom: #2e3ab6; $custom-light: #7c70cd; $custom-dark: #000000;
JSON
{
"hex": "#2e3ab6",
"rgb": {
"r": 46,
"g": 58,
"b": 182
},
"hsl": {
"h": 234.706,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.42743,
"c": 0.19279,
"h": 271
},
"luminance": 0.06984
}Semantic roles & 50–950 ramp
primary
#2E3AB6
secondary
#C8C178
accent
#D545E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82