#2E46A5#2E46A5
#2E46A5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.156 H 268.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2E46A5 |
|---|---|
| RGB | rgb(46, 70, 165) |
| HSL | hsl(228, 56%, 41%) |
| HSV | hsv(228, 72%, 65%) |
| CMYK | cmyk(72.1%, 57.6%, 0%, 35.3%) |
| CIE-LAB | lab(33.30, 24.37, -53.98) |
| CIE-LCH | lch(33.30, 59.23, 294.30°) |
| OKLab | oklab(43.42% -0.0044 -0.1556) |
| OKLCH | oklch(43.42% 0.156 268.4) |
| XYZ | xyz(10.1061, 7.6767, 36.5392) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.22
Sapphire (survey)
#2138AB
ΔE00 4.45
Cobalt (survey)
#1E488F
ΔE00 4.67
Blue Blue
#2242C7
ΔE00 4.85
Blueberry
#464196
ΔE00 5.13
Sapphire
#0F52BA
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E46A5 #A58D2E
analogous
#2E82A5 #2E46A5 #522EA5
triadic
#2E46A5 #A52E46 #46A52E
tetradic
#2E46A5 #A52E82 #A58D2E #2EA552
square
#2E46A5 #A52E82 #A58D2E #2EA552
split-complementary
#2E46A5 #A5522E #82A52E
monochromatic
#131D45 #213275 #2E46A5 #4560CB #7589D8
Accessibility & contrast
On white
8.28
#2E46A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2E46A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E46A5
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E46A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E46A5 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2e46a5; /* rgb */ color: rgb(46, 70, 165); /* oklch */ color: oklch(43.4% 0.156 268.4);
Tailwind
colors: {
custom: {
50: '#7779c0',
500: '#2e46a5',
950: '#000000',
},
}SCSS
$custom: #2e46a5; $custom-light: #7779c0; $custom-dark: #000000;
JSON
{
"hex": "#2e46a5",
"rgb": {
"r": 46,
"g": 70,
"b": 165
},
"hsl": {
"h": 227.899,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.43421,
"c": 0.15565,
"h": 268.4
},
"luminance": 0.07678
}Semantic roles & 50–950 ramp
primary
#2E46A5
secondary
#C0B06F
accent
#C148E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81