#2E46B6#2E46B6
#2E46B6 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.9% C 0.179 H 268.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2E46B6 |
|---|---|
| RGB | rgb(46, 70, 182) |
| HSL | hsl(229, 60%, 45%) |
| HSV | hsv(229, 75%, 71%) |
| CMYK | cmyk(74.7%, 61.5%, 0%, 28.6%) |
| CIE-LAB | lab(34.68, 30.70, -61.86) |
| CIE-LCH | lch(34.68, 69.06, 296.39°) |
| OKLab | oklab(44.88% -0.0042 -0.1787) |
| OKLCH | oklch(44.88% 0.179 268.7) |
| XYZ | xyz(11.7575, 8.3373, 45.2365) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.53
Cobalt
#0047AB
ΔE00 4.09
Sapphire (survey)
#2138AB
ΔE00 4.29
Ocean Blue
#4F42B5
ΔE00 5.00
Blue (survey)
#0343DF
ΔE00 5.08
Sapphire
#0F52BA
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E46B6 #B69E2E
analogous
#2E8AB6 #2E46B6 #5A2EB6
triadic
#2E46B6 #B62E46 #46B62E
tetradic
#2E46B6 #B62E8A #B69E2E #2EB65A
square
#2E46B6 #B62E8A #B69E2E #2EB65A
split-complementary
#2E46B6 #B65A2E #8AB62E
monochromatic
#152054 #223385 #2E46B6 #4F66D2 #8090DF
Accessibility & contrast
On white
7.87
#2E46B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2E46B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E46B6
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E46B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E46B6 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#004BB4
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2e46b6; /* rgb */ color: rgb(46, 70, 182); /* oklch */ color: oklch(44.9% 0.179 268.7);
Tailwind
colors: {
custom: {
50: '#7b79cd',
500: '#2e46b6',
950: '#000000',
},
}SCSS
$custom: #2e46b6; $custom-light: #7b79cd; $custom-dark: #000000;
JSON
{
"hex": "#2e46b6",
"rgb": {
"r": 46,
"g": 70,
"b": 182
},
"hsl": {
"h": 229.412,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.44875,
"c": 0.17878,
"h": 268.7
},
"luminance": 0.08339
}Semantic roles & 50–950 ramp
primary
#2E46B6
secondary
#C8BA78
accent
#C745E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82