#2848BA#2848BA
#2848BA is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.183 H 266.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2848BA |
|---|---|
| RGB | rgb(40, 72, 186) |
| HSL | hsl(227, 65%, 44%) |
| HSV | hsv(227, 78%, 73%) |
| CMYK | cmyk(78.5%, 61.3%, 0%, 27.1%) |
| CIE-LAB | lab(35.26, 30.24, -63.28) |
| CIE-LCH | lch(35.26, 70.13, 295.55°) |
| OKLab | oklab(45.34% -0.0107 -0.183) |
| OKLCH | oklch(45.34% 0.183 266.7) |
| XYZ | xyz(12.0523, 8.6296, 47.4753) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.58
Cobalt
#0047AB
ΔE00 3.69
Sapphire
#0F52BA
ΔE00 4.39
Blue (survey)
#0343DF
ΔE00 4.74
Sapphire (survey)
#2138AB
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2848BA #BA9A28
analogous
#2891BA #2848BA #5128BA
triadic
#2848BA #BA2848 #48BA28
tetradic
#2848BA #BA2891 #BA9A28 #28BA51
square
#2848BA #BA2891 #BA9A28 #28BA51
split-complementary
#2848BA #BA5128 #91BA28
monochromatic
#122155 #1D3588 #2848BA #4867D8 #7A91E2
Accessibility & contrast
On white
7.70
#2848BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2848BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2848BA
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2848BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2848BA | 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)
#005ABE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2848ba; /* rgb */ color: rgb(40, 72, 186); /* oklch */ color: oklch(45.3% 0.183 266.7);
Tailwind
colors: {
custom: {
50: '#7a7ad0',
500: '#2848ba',
950: '#000000',
},
}SCSS
$custom: #2848ba; $custom-light: #7a7ad0; $custom-dark: #000000;
JSON
{
"hex": "#2848ba",
"rgb": {
"r": 40,
"g": 72,
"b": 186
},
"hsl": {
"h": 226.849,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.45341,
"c": 0.18327,
"h": 266.7
},
"luminance": 0.08631
}Semantic roles & 50–950 ramp
primary
#2848BA
secondary
#CAB773
accent
#C340E8
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82