#2846AC#2846AC
#2846AC is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.167 H 266.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2846AC |
|---|---|
| RGB | rgb(40, 70, 172) |
| HSL | hsl(226, 62%, 42%) |
| HSV | hsv(226, 77%, 67%) |
| CMYK | cmyk(76.7%, 59.3%, 0%, 32.5%) |
| CIE-LAB | lab(33.58, 26.27, -57.72) |
| CIE-LCH | lch(33.58, 63.42, 294.47°) |
| OKLab | oklab(43.73% -0.0096 -0.1667) |
| OKLCH | oklch(43.73% 0.167 266.7) |
| XYZ | xyz(10.5090, 7.8088, 39.9751) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.73
Blue Blue
#2242C7
ΔE00 3.99
Sapphire (survey)
#2138AB
ΔE00 4.30
Sapphire
#0F52BA
ΔE00 4.87
Cobalt (survey)
#1E488F
ΔE00 5.07
Blueberry
#464196
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2846AC #AC8E28
analogous
#2888AC #2846AC #4C28AC
triadic
#2846AC #AC2846 #46AC28
tetradic
#2846AC #AC2888 #AC8E28 #28AC4C
square
#2846AC #AC2888 #AC8E28 #28AC4C
split-complementary
#2846AC #AC4C28 #88AC28
monochromatic
#111E49 #1C327A #2846AC #3F60D2 #7189DE
Accessibility & contrast
On white
8.20
#2846AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2846AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2846AC
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2846AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2846AC | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2846ac; /* rgb */ color: rgb(40, 70, 172); /* oklch */ color: oklch(43.7% 0.167 266.7);
Tailwind
colors: {
custom: {
50: '#7679c6',
500: '#2846ac',
950: '#000000',
},
}SCSS
$custom: #2846ac; $custom-light: #7679c6; $custom-dark: #000000;
JSON
{
"hex": "#2846ac",
"rgb": {
"r": 40,
"g": 70,
"b": 172
},
"hsl": {
"h": 226.364,
"s": 62.264,
"l": 41.569
},
"oklch": {
"l": 0.4373,
"c": 0.16698,
"h": 266.7
},
"luminance": 0.0781
}Semantic roles & 50–950 ramp
primary
#2846AC
secondary
#C5B06B
accent
#C042E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82