#2846A2#2846A2
#2846A2 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.153 H 266.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2846A2 |
|---|---|
| RGB | rgb(40, 70, 162) |
| HSL | hsl(225, 60%, 40%) |
| HSV | hsv(225, 75%, 64%) |
| CMYK | cmyk(75.3%, 56.8%, 0%, 36.5%) |
| CIE-LAB | lab(32.79, 22.44, -53.03) |
| CIE-LCH | lch(32.79, 57.58, 292.94°) |
| OKLab | oklab(42.89% -0.01 -0.1529) |
| OKLCH | oklch(42.89% 0.153 266.3) |
| XYZ | xyz(9.5845, 7.4390, 35.1062) |
| Luminance | 0.0744 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.55
Cobalt (survey)
#1E488F
ΔE00 3.76
Sapphire (survey)
#2138AB
ΔE00 4.82
Sapphire
#0F52BA
ΔE00 5.21
Blue Blue
#2242C7
ΔE00 5.43
Blueberry
#464196
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2846A2 #A28428
analogous
#2883A2 #2846A2 #4728A2
triadic
#2846A2 #A22846 #46A228
tetradic
#2846A2 #A22883 #A28428 #28A247
square
#2846A2 #A22883 #A28428 #28A247
split-complementary
#2846A2 #A24728 #83A228
monochromatic
#101C40 #1C3171 #2846A2 #395ECE #6A86DA
Accessibility & contrast
On white
8.44
#2846A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2846A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2846A2
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2846A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2846A2 | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2846a2; /* rgb */ color: rgb(40, 70, 162); /* oklch */ color: oklch(42.9% 0.153 266.3);
Tailwind
colors: {
custom: {
50: '#7479be',
500: '#2846a2',
950: '#000000',
},
}SCSS
$custom: #2846a2; $custom-light: #7479be; $custom-dark: #000000;
JSON
{
"hex": "#2846a2",
"rgb": {
"r": 40,
"g": 70,
"b": 162
},
"hsl": {
"h": 225.246,
"s": 60.396,
"l": 39.608
},
"oklch": {
"l": 0.42885,
"c": 0.15323,
"h": 266.3
},
"luminance": 0.0744
}Semantic roles & 50–950 ramp
primary
#2846A2
secondary
#C1AA65
accent
#BC44E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81