#2847B5#2847B5
#2847B5 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.178 H 266.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2847B5 |
|---|---|
| RGB | rgb(40, 71, 181) |
| HSL | hsl(227, 64%, 43%) |
| HSV | hsv(227, 78%, 71%) |
| CMYK | cmyk(77.9%, 60.8%, 0%, 29%) |
| CIE-LAB | lab(34.58, 29.02, -61.43) |
| CIE-LCH | lch(34.58, 67.94, 295.28°) |
| OKLab | oklab(44.71% -0.0101 -0.1776) |
| OKLCH | oklch(44.71% 0.178 266.7) |
| XYZ | xyz(11.4659, 8.2925, 44.7034) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.94
Cobalt
#0047AB
ΔE00 3.29
Sapphire
#0F52BA
ΔE00 4.57
Sapphire (survey)
#2138AB
ΔE00 4.59
Blue (survey)
#0343DF
ΔE00 5.32
Ocean Blue
#4F42B5
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2847B5 #B59628
analogous
#288DB5 #2847B5 #5028B5
triadic
#2847B5 #B52847 #47B528
tetradic
#2847B5 #B5288D #B59628 #28B550
square
#2847B5 #B5288D #B59628 #28B550
split-complementary
#2847B5 #B55028 #8DB528
monochromatic
#122051 #1D3383 #2847B5 #4464D6 #778EE1
Accessibility & contrast
On white
7.90
#2847B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2847B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2847B5
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2847B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2847B5 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2847b5; /* rgb */ color: rgb(40, 71, 181); /* oklch */ color: oklch(44.7% 0.178 266.7);
Tailwind
colors: {
custom: {
50: '#7879cc',
500: '#2847b5',
950: '#000000',
},
}SCSS
$custom: #2847b5; $custom-light: #7879cc; $custom-dark: #000000;
JSON
{
"hex": "#2847b5",
"rgb": {
"r": 40,
"g": 71,
"b": 181
},
"hsl": {
"h": 226.809,
"s": 63.801,
"l": 43.333
},
"oklch": {
"l": 0.44709,
"c": 0.17786,
"h": 266.7
},
"luminance": 0.08294
}Semantic roles & 50–950 ramp
primary
#2847B5
secondary
#C8B570
accent
#C241E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82