#2847AE#2847AE
#2847AE is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.168 H 266.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2847AE |
|---|---|
| RGB | rgb(40, 71, 174) |
| HSL | hsl(226, 63%, 42%) |
| HSV | hsv(226, 77%, 68%) |
| CMYK | cmyk(77%, 59.2%, 0%, 31.8%) |
| CIE-LAB | lab(34.01, 26.36, -58.22) |
| CIE-LCH | lch(34.01, 63.91, 294.36°) |
| OKLab | oklab(44.1% -0.0102 -0.1681) |
| OKLCH | oklch(44.1% 0.168 266.5) |
| XYZ | xyz(10.7656, 8.0124, 41.0154) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.69
Blue Blue
#2242C7
ΔE00 3.87
Sapphire
#0F52BA
ΔE00 4.54
Sapphire (survey)
#2138AB
ΔE00 4.59
Cobalt (survey)
#1E488F
ΔE00 5.18
Blueberry
#464196
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2847AE #AE8F28
analogous
#288AAE #2847AE #4C28AE
triadic
#2847AE #AE2847 #47AE28
tetradic
#2847AE #AE288A #AE8F28 #28AE4C
square
#2847AE #AE288A #AE8F28 #28AE4C
split-complementary
#2847AE #AE4C28 #8AAE28
monochromatic
#111E4A #1D337C #2847AE #4062D3 #728BDF
Accessibility & contrast
On white
8.07
#2847AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2847AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2847AE
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2847AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2847AE | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2847ae; /* rgb */ color: rgb(40, 71, 174); /* oklch */ color: oklch(44.1% 0.168 266.5);
Tailwind
colors: {
custom: {
50: '#7779c7',
500: '#2847ae',
950: '#000000',
},
}SCSS
$custom: #2847ae; $custom-light: #7779c7; $custom-dark: #000000;
JSON
{
"hex": "#2847ae",
"rgb": {
"r": 40,
"g": 71,
"b": 174
},
"hsl": {
"h": 226.119,
"s": 62.617,
"l": 41.961
},
"oklch": {
"l": 0.441,
"c": 0.16845,
"h": 266.5
},
"luminance": 0.08014
}Semantic roles & 50–950 ramp
primary
#2847AE
secondary
#C6B16C
accent
#C042E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82