#2847B6#2847B6
#2847B6 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.179 H 266.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2847B6 |
|---|---|
| RGB | rgb(40, 71, 182) |
| HSL | hsl(227, 64%, 44%) |
| HSV | hsv(227, 78%, 71%) |
| CMYK | cmyk(78%, 61%, 0%, 28.6%) |
| CIE-LAB | lab(34.67, 29.39, -61.89) |
| CIE-LCH | lch(34.67, 68.51, 295.41°) |
| OKLab | oklab(44.8% -0.0101 -0.1789) |
| OKLCH | oklch(44.8% 0.179 266.8) |
| XYZ | xyz(11.5689, 8.3337, 45.2457) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.82
Cobalt
#0047AB
ΔE00 3.38
Sapphire
#0F52BA
ΔE00 4.59
Sapphire (survey)
#2138AB
ΔE00 4.61
Blue (survey)
#0343DF
ΔE00 5.19
Ocean Blue
#4F42B5
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2847B6 #B69728
analogous
#288EB6 #2847B6 #5028B6
triadic
#2847B6 #B62847 #47B628
tetradic
#2847B6 #B6288E #B69728 #28B650
square
#2847B6 #B6288E #B69728 #28B650
split-complementary
#2847B6 #B65028 #8EB628
monochromatic
#122052 #1D3384 #2847B6 #4565D6 #778EE1
Accessibility & contrast
On white
7.87
#2847B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2847B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2847B6
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2847B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2847B6 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#004BB4
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2847b6; /* rgb */ color: rgb(40, 71, 182); /* oklch */ color: oklch(44.8% 0.179 266.8);
Tailwind
colors: {
custom: {
50: '#7979cd',
500: '#2847b6',
950: '#000000',
},
}SCSS
$custom: #2847b6; $custom-light: #7979cd; $custom-dark: #000000;
JSON
{
"hex": "#2847b6",
"rgb": {
"r": 40,
"g": 71,
"b": 182
},
"hsl": {
"h": 226.901,
"s": 63.964,
"l": 43.529
},
"oklch": {
"l": 0.44797,
"c": 0.17918,
"h": 266.8
},
"luminance": 0.08335
}Semantic roles & 50–950 ramp
primary
#2847B6
secondary
#C9B671
accent
#C341E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82