#2846BA#2846BA
#2846BA is a dark, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.186 H 267.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2846BA |
|---|---|
| RGB | rgb(40, 70, 186) |
| HSL | hsl(228, 65%, 44%) |
| HSV | hsv(228, 78%, 73%) |
| CMYK | cmyk(78.5%, 62.4%, 0%, 27.1%) |
| CIE-LAB | lab(34.75, 31.55, -64.11) |
| CIE-LCH | lch(34.75, 71.45, 296.20°) |
| OKLab | oklab(44.96% -0.0095 -0.1854) |
| OKLCH | oklch(44.96% 0.186 267.1) |
| XYZ | xyz(11.9251, 8.3752, 47.4329) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.13
Cobalt
#0047AB
ΔE00 3.93
Sapphire (survey)
#2138AB
ΔE00 4.46
Blue (survey)
#0343DF
ΔE00 4.58
Sapphire
#0F52BA
ΔE00 5.00
Ocean Blue
#4F42B5
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2846BA #BA9C28
analogous
#288FBA #2846BA #5328BA
triadic
#2846BA #BA2846 #46BA28
tetradic
#2846BA #BA288F #BA9C28 #28BA53
square
#2846BA #BA288F #BA9C28 #28BA53
split-complementary
#2846BA #BA5328 #8FBA28
monochromatic
#122055 #1D3388 #2846BA #4865D8 #7A8FE2
Accessibility & contrast
On white
7.85
#2846BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2846BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2846BA
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2846BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2846BA | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2846ba; /* rgb */ color: rgb(40, 70, 186); /* oklch */ color: oklch(45.0% 0.186 267.1);
Tailwind
colors: {
custom: {
50: '#7a79d0',
500: '#2846ba',
950: '#000000',
},
}SCSS
$custom: #2846ba; $custom-light: #7a79d0; $custom-dark: #000000;
JSON
{
"hex": "#2846ba",
"rgb": {
"r": 40,
"g": 70,
"b": 186
},
"hsl": {
"h": 227.671,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.44964,
"c": 0.18567,
"h": 267.1
},
"luminance": 0.08377
}Semantic roles & 50–950 ramp
primary
#2846BA
secondary
#CAB873
accent
#C540E8
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82