#2846AE#2846AE
#2846AE is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.170 H 266.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2846AE |
|---|---|
| RGB | rgb(40, 70, 174) |
| HSL | hsl(227, 63%, 42%) |
| HSV | hsv(227, 77%, 68%) |
| CMYK | cmyk(77%, 59.8%, 0%, 31.8%) |
| CIE-LAB | lab(33.74, 27.03, -58.65) |
| CIE-LCH | lch(33.74, 64.58, 294.74°) |
| OKLab | oklab(43.9% -0.0095 -0.1694) |
| OKLCH | oklch(43.9% 0.17 266.8) |
| XYZ | xyz(10.7025, 7.8862, 40.9943) |
| Luminance | 0.0789 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.85
Blue Blue
#2242C7
ΔE00 3.71
Sapphire (survey)
#2138AB
ΔE00 4.26
Sapphire
#0F52BA
ΔE00 4.85
Cobalt (survey)
#1E488F
ΔE00 5.34
Blueberry
#464196
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2846AE #AE9028
analogous
#2889AE #2846AE #4D28AE
triadic
#2846AE #AE2846 #46AE28
tetradic
#2846AE #AE2889 #AE9028 #28AE4D
square
#2846AE #AE2889 #AE9028 #28AE4D
split-complementary
#2846AE #AE4D28 #89AE28
monochromatic
#111E4A #1D327C #2846AE #4061D3 #728ADF
Accessibility & contrast
On white
8.15
#2846AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2846AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2846AE
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2846AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2846AE | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2846ae; /* rgb */ color: rgb(40, 70, 174); /* oklch */ color: oklch(43.9% 0.170 266.8);
Tailwind
colors: {
custom: {
50: '#7779c7',
500: '#2846ae',
950: '#000000',
},
}SCSS
$custom: #2846ae; $custom-light: #7779c7; $custom-dark: #000000;
JSON
{
"hex": "#2846ae",
"rgb": {
"r": 40,
"g": 70,
"b": 174
},
"hsl": {
"h": 226.567,
"s": 62.617,
"l": 41.961
},
"oklch": {
"l": 0.43903,
"c": 0.16969,
"h": 266.8
},
"luminance": 0.07887
}Semantic roles & 50–950 ramp
primary
#2846AE
secondary
#C6B26C
accent
#C142E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82