#2E46A2#2E46A2
#2E46A2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.151 H 268.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2E46A2 |
|---|---|
| RGB | rgb(46, 70, 162) |
| HSL | hsl(228, 56%, 41%) |
| HSV | hsv(228, 72%, 64%) |
| CMYK | cmyk(71.6%, 56.8%, 0%, 36.5%) |
| CIE-LAB | lab(33.07, 23.25, -52.56) |
| CIE-LCH | lch(33.07, 57.47, 293.86°) |
| OKLab | oklab(43.17% -0.0045 -0.1514) |
| OKLCH | oklch(43.17% 0.151 268.3) |
| XYZ | xyz(9.8362, 7.5688, 35.1180) |
| Luminance | 0.0757 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.24
Cobalt (survey)
#1E488F
ΔE00 4.31
Sapphire (survey)
#2138AB
ΔE00 4.64
Blueberry
#464196
ΔE00 5.06
Blue Blue
#2242C7
ΔE00 5.28
Sapphire
#0F52BA
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E46A2 #A28A2E
analogous
#2E80A2 #2E46A2 #502EA2
triadic
#2E46A2 #A22E46 #46A22E
tetradic
#2E46A2 #A22E80 #A28A2E #2EA250
square
#2E46A2 #A22E80 #A28A2E #2EA250
split-complementary
#2E46A2 #A2502E #80A22E
monochromatic
#131D43 #203172 #2E46A2 #435FCA #7388D7
Accessibility & contrast
On white
8.35
#2E46A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2E46A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E46A2
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E46A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E46A2 | 1.00 | 8.35 | 2.51 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2e46a2; /* rgb */ color: rgb(46, 70, 162); /* oklch */ color: oklch(43.2% 0.151 268.3);
Tailwind
colors: {
custom: {
50: '#7679be',
500: '#2e46a2',
950: '#000000',
},
}SCSS
$custom: #2e46a2; $custom-light: #7679be; $custom-dark: #000000;
JSON
{
"hex": "#2e46a2",
"rgb": {
"r": 46,
"g": 70,
"b": 162
},
"hsl": {
"h": 227.586,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.43174,
"c": 0.15147,
"h": 268.3
},
"luminance": 0.0757
}Semantic roles & 50–950 ramp
primary
#2E46A2
secondary
#BFAE6D
accent
#C049DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81