#2847B2#2847B2
#2847B2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.174 H 266.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2847B2 |
|---|---|
| RGB | rgb(40, 71, 178) |
| HSL | hsl(227, 63%, 43%) |
| HSV | hsv(227, 78%, 70%) |
| CMYK | cmyk(77.5%, 60.1%, 0%, 30.2%) |
| CIE-LAB | lab(34.34, 27.88, -60.06) |
| CIE-LCH | lch(34.34, 66.22, 294.90°) |
| OKLab | oklab(44.45% -0.0101 -0.1735) |
| OKLCH | oklch(44.45% 0.174 266.7) |
| XYZ | xyz(11.1614, 8.1707, 43.0997) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.01
Blue Blue
#2242C7
ΔE00 3.33
Sapphire
#0F52BA
ΔE00 4.53
Sapphire (survey)
#2138AB
ΔE00 4.56
Cobalt (survey)
#1E488F
ΔE00 5.72
Blue (survey)
#0343DF
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2847B2 #B29328
analogous
#288CB2 #2847B2 #4E28B2
triadic
#2847B2 #B22847 #47B228
tetradic
#2847B2 #B2288C #B29328 #28B24E
square
#2847B2 #B2288C #B29328 #28B24E
split-complementary
#2847B2 #B24E28 #8CB228
monochromatic
#121F4E #1D3380 #2847B2 #4363D5 #758DE0
Accessibility & contrast
On white
7.97
#2847B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2847B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2847B2
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2847B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2847B2 | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2847b2; /* rgb */ color: rgb(40, 71, 178); /* oklch */ color: oklch(44.4% 0.174 266.7);
Tailwind
colors: {
custom: {
50: '#7879ca',
500: '#2847b2',
950: '#000000',
},
}SCSS
$custom: #2847b2; $custom-light: #7879ca; $custom-dark: #000000;
JSON
{
"hex": "#2847b2",
"rgb": {
"r": 40,
"g": 71,
"b": 178
},
"hsl": {
"h": 226.522,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.44446,
"c": 0.17385,
"h": 266.7
},
"luminance": 0.08172
}Semantic roles & 50–950 ramp
primary
#2847B2
secondary
#C7B36F
accent
#C141E6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82