#2E48B7#2E48B7
#2E48B7 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.178 H 268.2°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2E48B7 |
|---|---|
| RGB | rgb(46, 72, 183) |
| HSL | hsl(229, 60%, 45%) |
| HSV | hsv(229, 75%, 72%) |
| CMYK | cmyk(74.9%, 60.7%, 0%, 28.2%) |
| CIE-LAB | lab(35.27, 29.77, -61.49) |
| CIE-LCH | lch(35.27, 68.31, 295.83°) |
| OKLab | oklab(45.34% -0.0055 -0.1776) |
| OKLCH | oklch(45.34% 0.178 268.2) |
| XYZ | xyz(11.9884, 8.6332, 45.8251) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.78
Cobalt
#0047AB
ΔE00 3.92
Sapphire
#0F52BA
ΔE00 4.72
Sapphire (survey)
#2138AB
ΔE00 4.90
Blue (survey)
#0343DF
ΔE00 5.08
Ocean Blue
#4F42B5
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E48B7 #B79D2E
analogous
#2E8DB7 #2E48B7 #582EB7
triadic
#2E48B7 #B72E48 #48B72E
tetradic
#2E48B7 #B72E8D #B79D2E #2EB758
square
#2E48B7 #B72E8D #B79D2E #2EB758
split-complementary
#2E48B7 #B7582E #8DB72E
monochromatic
#152255 #223586 #2E48B7 #4F68D3 #8092DF
Accessibility & contrast
On white
7.70
#2E48B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2E48B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E48B7
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E48B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E48B7 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2e48b7; /* rgb */ color: rgb(46, 72, 183); /* oklch */ color: oklch(45.3% 0.178 268.2);
Tailwind
colors: {
custom: {
50: '#7b7acd',
500: '#2e48b7',
950: '#000000',
},
}SCSS
$custom: #2e48b7; $custom-light: #7b7acd; $custom-dark: #000000;
JSON
{
"hex": "#2e48b7",
"rgb": {
"r": 46,
"g": 72,
"b": 183
},
"hsl": {
"h": 228.613,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.4534,
"c": 0.17769,
"h": 268.2
},
"luminance": 0.08634
}Semantic roles & 50–950 ramp
primary
#2E48B7
secondary
#C8B979
accent
#C545E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82