#2E46A8#2E46A8
#2E46A8 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.160 H 268.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2E46A8 |
|---|---|
| RGB | rgb(46, 70, 168) |
| HSL | hsl(228, 57%, 42%) |
| HSV | hsv(228, 73%, 66%) |
| CMYK | cmyk(72.6%, 58.3%, 0%, 34.1%) |
| CIE-LAB | lab(33.54, 25.50, -55.40) |
| CIE-LCH | lch(33.54, 60.98, 294.71°) |
| OKLab | oklab(43.67% -0.0043 -0.1597) |
| OKLCH | oklch(43.67% 0.16 268.5) |
| XYZ | xyz(10.3823, 7.7872, 37.9941) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.26
Sapphire (survey)
#2138AB
ΔE00 4.31
Blue Blue
#2242C7
ΔE00 4.42
Cobalt (survey)
#1E488F
ΔE00 5.03
Blueberry
#464196
ΔE00 5.24
Sapphire
#0F52BA
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E46A8 #A8902E
analogous
#2E83A8 #2E46A8 #532EA8
triadic
#2E46A8 #A82E46 #46A82E
tetradic
#2E46A8 #A82E83 #A8902E #2EA853
square
#2E46A8 #A82E83 #A8902E #2EA853
split-complementary
#2E46A8 #A8532E #83A82E
monochromatic
#141E48 #213278 #2E46A8 #4761CD #778ADA
Accessibility & contrast
On white
8.21
#2E46A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2E46A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E46A8
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E46A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E46A8 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2e46a8; /* rgb */ color: rgb(46, 70, 168); /* oklch */ color: oklch(43.7% 0.160 268.5);
Tailwind
colors: {
custom: {
50: '#7879c3',
500: '#2e46a8',
950: '#000000',
},
}SCSS
$custom: #2e46a8; $custom-light: #7879c3; $custom-dark: #000000;
JSON
{
"hex": "#2e46a8",
"rgb": {
"r": 46,
"g": 70,
"b": 168
},
"hsl": {
"h": 228.197,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.43671,
"c": 0.15981,
"h": 268.5
},
"luminance": 0.07788
}Semantic roles & 50–950 ramp
primary
#2E46A8
secondary
#C2B270
accent
#C248E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81