#2E46AA#2E46AA
#2E46AA is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.163 H 268.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2E46AA |
|---|---|
| RGB | rgb(46, 70, 170) |
| HSL | hsl(228, 57%, 42%) |
| HSV | hsv(228, 73%, 67%) |
| CMYK | cmyk(72.9%, 58.8%, 0%, 33.3%) |
| CIE-LAB | lab(33.69, 26.25, -56.34) |
| CIE-LCH | lch(33.69, 62.15, 294.98°) |
| OKLab | oklab(43.84% -0.0042 -0.1625) |
| OKLCH | oklch(43.84% 0.163 268.5) |
| XYZ | xyz(10.5701, 7.8623, 38.9829) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.32
Blue Blue
#2242C7
ΔE00 4.13
Sapphire (survey)
#2138AB
ΔE00 4.24
Cobalt (survey)
#1E488F
ΔE00 5.27
Sapphire
#0F52BA
ΔE00 5.30
Blueberry
#464196
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E46AA #AA922E
analogous
#2E84AA #2E46AA #542EAA
triadic
#2E46AA #AA2E46 #46AA2E
tetradic
#2E46AA #AA2E84 #AA922E #2EAA54
square
#2E46AA #AA2E84 #AA922E #2EAA54
split-complementary
#2E46AA #AA542E #84AA2E
monochromatic
#141E4A #21327A #2E46AA #4862CD #788BDA
Accessibility & contrast
On white
8.16
#2E46AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2E46AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E46AA
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E46AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E46AA | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2e46aa; /* rgb */ color: rgb(46, 70, 170); /* oklch */ color: oklch(43.8% 0.163 268.5);
Tailwind
colors: {
custom: {
50: '#7879c4',
500: '#2e46aa',
950: '#000000',
},
}SCSS
$custom: #2e46aa; $custom-light: #7879c4; $custom-dark: #000000;
JSON
{
"hex": "#2e46aa",
"rgb": {
"r": 46,
"g": 70,
"b": 170
},
"hsl": {
"h": 228.387,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.43839,
"c": 0.16256,
"h": 268.5
},
"luminance": 0.07863
}Semantic roles & 50–950 ramp
primary
#2E46AA
secondary
#C3B371
accent
#C347E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82