#2847A2#2847A2
#2847A2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.152 H 265.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2847A2 |
|---|---|
| RGB | rgb(40, 71, 162) |
| HSL | hsl(225, 60%, 40%) |
| HSV | hsv(225, 75%, 64%) |
| CMYK | cmyk(75.3%, 56.2%, 0%, 36.5%) |
| CIE-LAB | lab(33.06, 21.77, -52.58) |
| CIE-LCH | lch(33.06, 56.91, 292.49°) |
| OKLab | oklab(43.09% -0.0108 -0.1516) |
| OKLCH | oklch(43.09% 0.152 265.9) |
| XYZ | xyz(9.6476, 7.5652, 35.1272) |
| Luminance | 0.0757 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.41
Cobalt (survey)
#1E488F
ΔE00 3.58
Sapphire
#0F52BA
ΔE00 4.94
Sapphire (survey)
#2138AB
ΔE00 5.16
Blue Blue
#2242C7
ΔE00 5.56
Blueberry
#464196
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2847A2 #A28328
analogous
#2884A2 #2847A2 #4628A2
triadic
#2847A2 #A22847 #47A228
tetradic
#2847A2 #A22884 #A28328 #28A246
square
#2847A2 #A22884 #A28328 #28A246
split-complementary
#2847A2 #A24628 #84A228
monochromatic
#101C40 #1C3171 #2847A2 #395FCE #6A87DA
Accessibility & contrast
On white
8.36
#2847A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2847A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2847A2
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2847A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2847A2 | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2847a2; /* rgb */ color: rgb(40, 71, 162); /* oklch */ color: oklch(43.1% 0.152 265.9);
Tailwind
colors: {
custom: {
50: '#7479be',
500: '#2847a2',
950: '#000000',
},
}SCSS
$custom: #2847a2; $custom-light: #7479be; $custom-dark: #000000;
JSON
{
"hex": "#2847a2",
"rgb": {
"r": 40,
"g": 71,
"b": 162
},
"hsl": {
"h": 224.754,
"s": 60.396,
"l": 39.608
},
"oklch": {
"l": 0.43091,
"c": 0.15196,
"h": 265.9
},
"luminance": 0.07566
}Semantic roles & 50–950 ramp
primary
#2847A2
secondary
#C1A965
accent
#BB44E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81