#2E46AB#2E46AB
#2E46AB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.164 H 268.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2E46AB |
|---|---|
| RGB | rgb(46, 70, 171) |
| HSL | hsl(228, 58%, 43%) |
| HSV | hsv(228, 73%, 67%) |
| CMYK | cmyk(73.1%, 59.1%, 0%, 32.9%) |
| CIE-LAB | lab(33.77, 26.62, -56.80) |
| CIE-LCH | lch(33.77, 62.73, 295.11°) |
| OKLab | oklab(43.92% -0.0042 -0.1639) |
| OKLCH | oklch(43.92% 0.164 268.5) |
| XYZ | xyz(10.6650, 7.9003, 39.4830) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.35
Blue Blue
#2242C7
ΔE00 3.99
Sapphire (survey)
#2138AB
ΔE00 4.21
Sapphire
#0F52BA
ΔE00 5.28
Blueberry
#464196
ΔE00 5.38
Cobalt (survey)
#1E488F
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E46AB #AB932E
analogous
#2E85AB #2E46AB #542EAB
triadic
#2E46AB #AB2E46 #46AB2E
tetradic
#2E46AB #AB2E85 #AB932E #2EAB54
square
#2E46AB #AB2E85 #AB932E #2EAB54
split-complementary
#2E46AB #AB542E #85AB2E
monochromatic
#141F4B #21327B #2E46AB #4862CE #798BDB
Accessibility & contrast
On white
8.14
#2E46AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2E46AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E46AB
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E46AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E46AB | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2e46ab; /* rgb */ color: rgb(46, 70, 171); /* oklch */ color: oklch(43.9% 0.164 268.5);
Tailwind
colors: {
custom: {
50: '#7879c5',
500: '#2e46ab',
950: '#000000',
},
}SCSS
$custom: #2e46ab; $custom-light: #7879c5; $custom-dark: #000000;
JSON
{
"hex": "#2e46ab",
"rgb": {
"r": 46,
"g": 70,
"b": 171
},
"hsl": {
"h": 228.48,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.43924,
"c": 0.16392,
"h": 268.5
},
"luminance": 0.07901
}Semantic roles & 50–950 ramp
primary
#2E46AB
secondary
#C3B372
accent
#C347E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82