#2E3AB8#2E3AB8
#2E3AB8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.195 H 270.9°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3AB8 |
|---|---|
| RGB | rgb(46, 58, 184) |
| HSL | hsl(235, 60%, 45%) |
| HSV | hsv(235, 75%, 72%) |
| CMYK | cmyk(75%, 68.5%, 0%, 27.8%) |
| CIE-LAB | lab(31.96, 39.06, -67.50) |
| CIE-LCH | lch(31.96, 77.99, 300.06°) |
| OKLab | oklab(42.94% 0.0031 -0.1953) |
| OKLCH | oklch(42.94% 0.195 270.9) |
| XYZ | xyz(11.2886, 7.0664, 46.1071) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.35
Blue Blue
#2242C7
ΔE00 3.09
Ocean Blue
#4F42B5
ΔE00 4.38
Blue With A Hint Of Purple
#533CC6
ΔE00 5.11
Blue (survey)
#0343DF
ΔE00 5.50
Blurple
#5539CC
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3AB8 #B8AC2E
analogous
#2E7FB8 #2E3AB8 #672EB8
triadic
#2E3AB8 #B82E3A #3AB82E
tetradic
#2E3AB8 #B82E7F #B8AC2E #2EB867
square
#2E3AB8 #B82E7F #B8AC2E #2EB867
split-complementary
#2E3AB8 #B8672E #7FB82E
monochromatic
#161B56 #222B87 #2E3AB8 #505BD3 #8189DF
Accessibility & contrast
On white
8.70
#2E3AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2E3AB8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3AB8
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3AB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3AB8 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2e3ab8; /* rgb */ color: rgb(46, 58, 184); /* oklch */ color: oklch(42.9% 0.195 270.9);
Tailwind
colors: {
custom: {
50: '#7c70ce',
500: '#2e3ab8',
950: '#000000',
},
}SCSS
$custom: #2e3ab8; $custom-light: #7c70ce; $custom-dark: #000000;
JSON
{
"hex": "#2e3ab8",
"rgb": {
"r": 46,
"g": 58,
"b": 184
},
"hsl": {
"h": 234.783,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.42937,
"c": 0.19533,
"h": 270.9
},
"luminance": 0.07068
}Semantic roles & 50–950 ramp
primary
#2E3AB8
secondary
#C8C279
accent
#D545E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82