#2E46A0#2E46A0
#2E46A0 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.149 H 268.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2E46A0 |
|---|---|
| RGB | rgb(46, 70, 160) |
| HSL | hsl(227, 55%, 40%) |
| HSV | hsv(227, 71%, 63%) |
| CMYK | cmyk(71.2%, 56.3%, 0%, 37.3%) |
| CIE-LAB | lab(32.92, 22.49, -51.60) |
| CIE-LCH | lch(32.92, 56.29, 293.55°) |
| OKLab | oklab(43.01% -0.0046 -0.1486) |
| OKLCH | oklch(43.01% 0.149 268.2) |
| XYZ | xyz(9.6598, 7.4983, 34.1891) |
| Luminance | 0.0750 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.28
Cobalt (survey)
#1E488F
ΔE00 4.09
Sapphire (survey)
#2138AB
ΔE00 4.79
Blueberry
#464196
ΔE00 5.04
Blue Blue
#2242C7
ΔE00 5.57
Sapphire
#0F52BA
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E46A0 #A0882E
analogous
#2E7FA0 #2E46A0 #4F2EA0
triadic
#2E46A0 #A02E46 #46A02E
tetradic
#2E46A0 #A02E7F #A0882E #2EA04F
square
#2E46A0 #A02E7F #A0882E #2EA04F
split-complementary
#2E46A0 #A04F2E #7FA02E
monochromatic
#131C41 #203170 #2E46A0 #425FC9 #7287D6
Accessibility & contrast
On white
8.40
#2E46A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2E46A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E46A0
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E46A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E46A0 | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2e46a0; /* rgb */ color: rgb(46, 70, 160); /* oklch */ color: oklch(43.0% 0.149 268.2);
Tailwind
colors: {
custom: {
50: '#7679bd',
500: '#2e46a0',
950: '#000000',
},
}SCSS
$custom: #2e46a0; $custom-light: #7679bd; $custom-dark: #000000;
JSON
{
"hex": "#2e46a0",
"rgb": {
"r": 46,
"g": 70,
"b": 160
},
"hsl": {
"h": 227.368,
"s": 55.34,
"l": 40.392
},
"oklch": {
"l": 0.43011,
"c": 0.14865,
"h": 268.2
},
"luminance": 0.07499
}Semantic roles & 50–950 ramp
primary
#2E46A0
secondary
#BEAD6C
accent
#BF49DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81