#2E46B9#2E46B9
#2E46B9 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.183 H 268.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2E46B9 |
|---|---|
| RGB | rgb(46, 70, 185) |
| HSL | hsl(230, 60%, 45%) |
| HSV | hsv(230, 75%, 73%) |
| CMYK | cmyk(75.1%, 62.2%, 0%, 27.5%) |
| CIE-LAB | lab(34.93, 31.81, -63.22) |
| CIE-LCH | lch(34.93, 70.77, 296.71°) |
| OKLab | oklab(45.14% -0.0042 -0.1827) |
| OKLCH | oklch(45.14% 0.183 268.7) |
| XYZ | xyz(12.0708, 8.4626, 46.8868) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.17
Cobalt
#0047AB
ΔE00 4.36
Sapphire (survey)
#2138AB
ΔE00 4.42
Blue (survey)
#0343DF
ΔE00 4.68
Ocean Blue
#4F42B5
ΔE00 4.89
Sapphire
#0F52BA
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E46B9 #B9A12E
analogous
#2E8CB9 #2E46B9 #5B2EB9
triadic
#2E46B9 #B92E46 #46B92E
tetradic
#2E46B9 #B92E8C #B9A12E #2EB95B
square
#2E46B9 #B92E8C #B9A12E #2EB95B
split-complementary
#2E46B9 #B95B2E #8CB92E
monochromatic
#162157 #223388 #2E46B9 #5167D4 #8292E0
Accessibility & contrast
On white
7.80
#2E46B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2E46B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E46B9
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E46B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E46B9 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2e46b9; /* rgb */ color: rgb(46, 70, 185); /* oklch */ color: oklch(45.1% 0.183 268.7);
Tailwind
colors: {
custom: {
50: '#7c79cf',
500: '#2e46b9',
950: '#000000',
},
}SCSS
$custom: #2e46b9; $custom-light: #7c79cf; $custom-dark: #000000;
JSON
{
"hex": "#2e46b9",
"rgb": {
"r": 46,
"g": 70,
"b": 185
},
"hsl": {
"h": 229.64,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.4514,
"c": 0.18276,
"h": 268.7
},
"luminance": 0.08464
}Semantic roles & 50–950 ramp
primary
#2E46B9
secondary
#C9BB7A
accent
#C844E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82