#2847B0#2847B0
#2847B0 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.171 H 266.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2847B0 |
|---|---|
| RGB | rgb(40, 71, 176) |
| HSL | hsl(226, 63%, 42%) |
| HSV | hsv(226, 77%, 69%) |
| CMYK | cmyk(77.3%, 59.7%, 0%, 31%) |
| CIE-LAB | lab(34.17, 27.12, -59.14) |
| CIE-LCH | lch(34.17, 65.07, 294.64°) |
| OKLab | oklab(44.27% -0.0102 -0.1708) |
| OKLCH | oklch(44.27% 0.171 266.6) |
| XYZ | xyz(10.9620, 8.0909, 42.0499) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.84
Blue Blue
#2242C7
ΔE00 3.60
Sapphire
#0F52BA
ΔE00 4.53
Sapphire (survey)
#2138AB
ΔE00 4.56
Cobalt (survey)
#1E488F
ΔE00 5.45
Blue (survey)
#0343DF
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2847B0 #B09128
analogous
#288BB0 #2847B0 #4D28B0
triadic
#2847B0 #B02847 #47B028
tetradic
#2847B0 #B0288B #B09128 #28B04D
square
#2847B0 #B0288B #B09128 #28B04D
split-complementary
#2847B0 #B04D28 #8BB028
monochromatic
#111F4C #1D337E #2847B0 #4163D4 #738CDF
Accessibility & contrast
On white
8.02
#2847B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2847B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2847B0
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2847B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2847B0 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#004AAE
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2847b0; /* rgb */ color: rgb(40, 71, 176); /* oklch */ color: oklch(44.3% 0.171 266.6);
Tailwind
colors: {
custom: {
50: '#7779c8',
500: '#2847b0',
950: '#000000',
},
}SCSS
$custom: #2847b0; $custom-light: #7779c8; $custom-dark: #000000;
JSON
{
"hex": "#2847b0",
"rgb": {
"r": 40,
"g": 71,
"b": 176
},
"hsl": {
"h": 226.324,
"s": 62.963,
"l": 42.353
},
"oklch": {
"l": 0.44272,
"c": 0.17115,
"h": 266.6
},
"luminance": 0.08092
}Semantic roles & 50–950 ramp
primary
#2847B0
secondary
#C6B26D
accent
#C142E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82