#2846B2#2846B2
#2846B2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.3% C 0.175 H 266.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2846B2 |
|---|---|
| RGB | rgb(40, 70, 178) |
| HSL | hsl(227, 63%, 43%) |
| HSV | hsv(227, 78%, 70%) |
| CMYK | cmyk(77.5%, 60.7%, 0%, 30.2%) |
| CIE-LAB | lab(34.08, 28.54, -60.49) |
| CIE-LCH | lch(34.08, 66.88, 295.26°) |
| OKLab | oklab(44.25% -0.0095 -0.1748) |
| OKLCH | oklch(44.25% 0.175 266.9) |
| XYZ | xyz(11.0983, 8.0445, 43.0787) |
| Luminance | 0.0805 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.16
Blue Blue
#2242C7
ΔE00 3.16
Sapphire (survey)
#2138AB
ΔE00 4.24
Sapphire
#0F52BA
ΔE00 4.84
Blue (survey)
#0343DF
ΔE00 5.67
Ocean Blue
#4F42B5
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2846B2 #B29428
analogous
#288BB2 #2846B2 #4F28B2
triadic
#2846B2 #B22846 #46B228
tetradic
#2846B2 #B2288B #B29428 #28B24F
square
#2846B2 #B2288B #B29428 #28B24F
split-complementary
#2846B2 #B24F28 #8BB228
monochromatic
#121F4E #1D3280 #2846B2 #4362D5 #758CE0
Accessibility & contrast
On white
8.05
#2846B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2846B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2846B2
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2846B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2846B2 | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2846b2; /* rgb */ color: rgb(40, 70, 178); /* oklch */ color: oklch(44.3% 0.175 266.9);
Tailwind
colors: {
custom: {
50: '#7879ca',
500: '#2846b2',
950: '#000000',
},
}SCSS
$custom: #2846b2; $custom-light: #7879ca; $custom-dark: #000000;
JSON
{
"hex": "#2846b2",
"rgb": {
"r": 40,
"g": 70,
"b": 178
},
"hsl": {
"h": 226.957,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.44252,
"c": 0.17507,
"h": 266.9
},
"luminance": 0.08046
}Semantic roles & 50–950 ramp
primary
#2846B2
secondary
#C7B46F
accent
#C241E6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82