#2E48B6#2E48B6
#2E48B6 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.176 H 268.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2E48B6 |
|---|---|
| RGB | rgb(46, 72, 182) |
| HSL | hsl(229, 60%, 45%) |
| HSV | hsv(229, 75%, 71%) |
| CMYK | cmyk(74.7%, 60.4%, 0%, 28.6%) |
| CIE-LAB | lab(35.19, 29.40, -61.03) |
| CIE-LCH | lch(35.19, 67.74, 295.72°) |
| OKLab | oklab(45.25% -0.0056 -0.1763) |
| OKLCH | oklch(45.25% 0.176 268.2) |
| XYZ | xyz(11.8847, 8.5917, 45.2789) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.89
Cobalt
#0047AB
ΔE00 3.83
Sapphire
#0F52BA
ΔE00 4.70
Sapphire (survey)
#2138AB
ΔE00 4.87
Blue (survey)
#0343DF
ΔE00 5.21
Ocean Blue
#4F42B5
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E48B6 #B69C2E
analogous
#2E8CB6 #2E48B6 #582EB6
triadic
#2E48B6 #B62E48 #48B62E
tetradic
#2E48B6 #B62E8C #B69C2E #2EB658
square
#2E48B6 #B62E8C #B69C2E #2EB658
split-complementary
#2E48B6 #B6582E #8CB62E
monochromatic
#152154 #223585 #2E48B6 #4F68D2 #8092DF
Accessibility & contrast
On white
7.72
#2E48B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2E48B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E48B6
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E48B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E48B6 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2e48b6; /* rgb */ color: rgb(46, 72, 182); /* oklch */ color: oklch(45.3% 0.176 268.2);
Tailwind
colors: {
custom: {
50: '#7b7acd',
500: '#2e48b6',
950: '#000000',
},
}SCSS
$custom: #2e48b6; $custom-light: #7b7acd; $custom-dark: #000000;
JSON
{
"hex": "#2e48b6",
"rgb": {
"r": 46,
"g": 72,
"b": 182
},
"hsl": {
"h": 228.529,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.45253,
"c": 0.17635,
"h": 268.2
},
"luminance": 0.08593
}Semantic roles & 50–950 ramp
primary
#2E48B6
secondary
#C8B878
accent
#C545E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82