#2E46B7#2E46B7
#2E46B7 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.180 H 268.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2E46B7 |
|---|---|
| RGB | rgb(46, 70, 183) |
| HSL | hsl(229, 60%, 45%) |
| HSV | hsv(229, 75%, 72%) |
| CMYK | cmyk(74.9%, 61.7%, 0%, 28.2%) |
| CIE-LAB | lab(34.76, 31.07, -62.32) |
| CIE-LCH | lch(34.76, 69.63, 296.50°) |
| OKLab | oklab(44.96% -0.0042 -0.1801) |
| OKLCH | oklch(44.96% 0.18 268.7) |
| XYZ | xyz(11.8612, 8.3788, 45.7827) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.40
Cobalt
#0047AB
ΔE00 4.17
Sapphire (survey)
#2138AB
ΔE00 4.33
Blue (survey)
#0343DF
ΔE00 4.94
Ocean Blue
#4F42B5
ΔE00 4.96
Sapphire
#0F52BA
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E46B7 #B79F2E
analogous
#2E8BB7 #2E46B7 #5B2EB7
triadic
#2E46B7 #B72E46 #46B72E
tetradic
#2E46B7 #B72E8B #B79F2E #2EB75B
square
#2E46B7 #B72E8B #B79F2E #2EB75B
split-complementary
#2E46B7 #B75B2E #8BB72E
monochromatic
#152155 #223386 #2E46B7 #4F66D3 #8091DF
Accessibility & contrast
On white
7.85
#2E46B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2E46B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E46B7
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E46B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E46B7 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2e46b7; /* rgb */ color: rgb(46, 70, 183); /* oklch */ color: oklch(45.0% 0.180 268.7);
Tailwind
colors: {
custom: {
50: '#7b79ce',
500: '#2e46b7',
950: '#000000',
},
}SCSS
$custom: #2e46b7; $custom-light: #7b79ce; $custom-dark: #000000;
JSON
{
"hex": "#2e46b7",
"rgb": {
"r": 46,
"g": 70,
"b": 183
},
"hsl": {
"h": 229.489,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.44963,
"c": 0.18011,
"h": 268.7
},
"luminance": 0.0838
}Semantic roles & 50–950 ramp
primary
#2E46B7
secondary
#C8BA79
accent
#C745E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82