#2E46A4#2E46A4
#2E46A4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.154 H 268.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2E46A4 |
|---|---|
| RGB | rgb(46, 70, 164) |
| HSL | hsl(228, 56%, 41%) |
| HSV | hsv(228, 72%, 64%) |
| CMYK | cmyk(72%, 57.3%, 0%, 35.7%) |
| CIE-LAB | lab(33.22, 24.00, -53.51) |
| CIE-LCH | lch(33.22, 58.64, 294.15°) |
| OKLab | oklab(43.34% -0.0044 -0.1542) |
| OKLCH | oklch(43.34% 0.154 268.4) |
| XYZ | xyz(10.0154, 7.6405, 36.0617) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.22
Sapphire (survey)
#2138AB
ΔE00 4.51
Cobalt (survey)
#1E488F
ΔE00 4.55
Blue Blue
#2242C7
ΔE00 4.99
Blueberry
#464196
ΔE00 5.10
Sapphire
#0F52BA
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E46A4 #A48C2E
analogous
#2E81A4 #2E46A4 #512EA4
triadic
#2E46A4 #A42E46 #46A42E
tetradic
#2E46A4 #A42E81 #A48C2E #2EA451
square
#2E46A4 #A42E81 #A48C2E #2EA451
split-complementary
#2E46A4 #A4512E #81A42E
monochromatic
#131D44 #213274 #2E46A4 #4560CB #7489D8
Accessibility & contrast
On white
8.31
#2E46A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2E46A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E46A4
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E46A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E46A4 | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2e46a4; /* rgb */ color: rgb(46, 70, 164); /* oklch */ color: oklch(43.3% 0.154 268.4);
Tailwind
colors: {
custom: {
50: '#7779c0',
500: '#2e46a4',
950: '#000000',
},
}SCSS
$custom: #2e46a4; $custom-light: #7779c0; $custom-dark: #000000;
JSON
{
"hex": "#2e46a4",
"rgb": {
"r": 46,
"g": 70,
"b": 164
},
"hsl": {
"h": 227.797,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.43338,
"c": 0.15425,
"h": 268.4
},
"luminance": 0.07641
}Semantic roles & 50–950 ramp
primary
#2E46A4
secondary
#C0AF6E
accent
#C148DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81