#2E3AAB#2E3AAB
#2E3AAB is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.179 H 271.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3AAB |
|---|---|
| RGB | rgb(46, 58, 171) |
| HSL | hsl(234, 58%, 43%) |
| HSV | hsv(234, 73%, 67%) |
| CMYK | cmyk(73.1%, 66.1%, 0%, 32.9%) |
| CIE-LAB | lab(30.75, 34.44, -61.74) |
| CIE-LCH | lch(30.75, 70.70, 299.15°) |
| OKLab | oklab(41.69% 0.0042 -0.1785) |
| OKLCH | oklch(41.69% 0.179 271.4) |
| XYZ | xyz(9.9880, 6.5462, 39.2573) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.21
Blue Blue
#2242C7
ΔE00 4.30
Ocean Blue
#4F42B5
ΔE00 4.89
Blueberry
#464196
ΔE00 5.02
Cobalt
#0047AB
ΔE00 6.19
Blue With A Hint Of Purple
#533CC6
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3AAB #AB9F2E
analogous
#2E79AB #2E3AAB #602EAB
triadic
#2E3AAB #AB2E3A #3AAB2E
tetradic
#2E3AAB #AB2E79 #AB9F2E #2EAB60
square
#2E3AAB #AB2E79 #AB9F2E #2EAB60
split-complementary
#2E3AAB #AB602E #79AB2E
monochromatic
#14194B #212A7B #2E3AAB #4855CE #7982DB
Accessibility & contrast
On white
9.09
#2E3AAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2E3AAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3AAB
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3AAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3AAB | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e3aab; /* rgb */ color: rgb(46, 58, 171); /* oklch */ color: oklch(41.7% 0.179 271.4);
Tailwind
colors: {
custom: {
50: '#7970c5',
500: '#2e3aab',
950: '#000000',
},
}SCSS
$custom: #2e3aab; $custom-light: #7970c5; $custom-dark: #000000;
JSON
{
"hex": "#2e3aab",
"rgb": {
"r": 46,
"g": 58,
"b": 171
},
"hsl": {
"h": 234.24,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.41691,
"c": 0.17853,
"h": 271.4
},
"luminance": 0.06547
}Semantic roles & 50–950 ramp
primary
#2E3AAB
secondary
#C3BB72
accent
#D247E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82