#2847BA#2847BA
#2847BA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.184 H 266.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2847BA |
|---|---|
| RGB | rgb(40, 71, 186) |
| HSL | hsl(227, 65%, 44%) |
| HSV | hsv(227, 78%, 73%) |
| CMYK | cmyk(78.5%, 61.8%, 0%, 27.1%) |
| CIE-LAB | lab(35.01, 30.90, -63.69) |
| CIE-LCH | lch(35.01, 70.79, 295.88°) |
| OKLab | oklab(45.15% -0.0101 -0.1842) |
| OKLCH | oklch(45.15% 0.184 266.9) |
| XYZ | xyz(11.9881, 8.5014, 47.4540) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.34
Cobalt
#0047AB
ΔE00 3.80
Blue (survey)
#0343DF
ΔE00 4.65
Sapphire
#0F52BA
ΔE00 4.70
Sapphire (survey)
#2138AB
ΔE00 4.74
Ocean Blue
#4F42B5
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2847BA #BA9B28
analogous
#2890BA #2847BA #5228BA
triadic
#2847BA #BA2847 #47BA28
tetradic
#2847BA #BA2890 #BA9B28 #28BA52
square
#2847BA #BA2890 #BA9B28 #28BA52
split-complementary
#2847BA #BA5228 #90BA28
monochromatic
#122155 #1D3488 #2847BA #4866D8 #7A90E2
Accessibility & contrast
On white
7.78
#2847BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2847BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2847BA
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2847BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2847BA | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2847ba; /* rgb */ color: rgb(40, 71, 186); /* oklch */ color: oklch(45.2% 0.184 266.9);
Tailwind
colors: {
custom: {
50: '#7a7ad0',
500: '#2847ba',
950: '#000000',
},
}SCSS
$custom: #2847ba; $custom-light: #7a7ad0; $custom-dark: #000000;
JSON
{
"hex": "#2847ba",
"rgb": {
"r": 40,
"g": 71,
"b": 186
},
"hsl": {
"h": 227.26,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.45152,
"c": 0.18448,
"h": 266.9
},
"luminance": 0.08503
}Semantic roles & 50–950 ramp
primary
#2847BA
secondary
#CAB873
accent
#C440E8
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82