#2E48BA#2E48BA
#2E48BA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.182 H 268.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2E48BA |
|---|---|
| RGB | rgb(46, 72, 186) |
| HSL | hsl(229, 60%, 45%) |
| HSV | hsv(229, 75%, 73%) |
| CMYK | cmyk(75.3%, 61.3%, 0%, 27.1%) |
| CIE-LAB | lab(35.52, 30.88, -62.85) |
| CIE-LCH | lch(35.52, 70.02, 296.16°) |
| OKLab | oklab(45.6% -0.0056 -0.1816) |
| OKLCH | oklch(45.6% 0.182 268.2) |
| XYZ | xyz(12.3039, 8.7594, 47.4871) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.47
Cobalt
#0047AB
ΔE00 4.21
Blue (survey)
#0343DF
ΔE00 4.68
Sapphire
#0F52BA
ΔE00 4.81
Sapphire (survey)
#2138AB
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E48BA #BAA02E
analogous
#2E8EBA #2E48BA #5A2EBA
triadic
#2E48BA #BA2E48 #48BA2E
tetradic
#2E48BA #BA2E8E #BAA02E #2EBA5A
square
#2E48BA #BA2E8E #BAA02E #2EBA5A
split-complementary
#2E48BA #BA5A2E #8EBA2E
monochromatic
#162258 #223589 #2E48BA #5169D4 #8294E0
Accessibility & contrast
On white
7.63
#2E48BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2E48BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E48BA
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E48BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E48BA | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2e48ba; /* rgb */ color: rgb(46, 72, 186); /* oklch */ color: oklch(45.6% 0.182 268.2);
Tailwind
colors: {
custom: {
50: '#7c7ad0',
500: '#2e48ba',
950: '#000000',
},
}SCSS
$custom: #2e48ba; $custom-light: #7c7ad0; $custom-dark: #000000;
JSON
{
"hex": "#2e48ba",
"rgb": {
"r": 46,
"g": 72,
"b": 186
},
"hsl": {
"h": 228.857,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.45602,
"c": 0.18169,
"h": 268.2
},
"luminance": 0.08761
}Semantic roles & 50–950 ramp
primary
#2E48BA
secondary
#C9BB7B
accent
#C644E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82