#2841AE#2841AE
#2841AE is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.176 H 268.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2841AE |
|---|---|
| RGB | rgb(40, 65, 174) |
| HSL | hsl(229, 63%, 42%) |
| HSV | hsv(229, 77%, 68%) |
| CMYK | cmyk(77%, 62.6%, 0%, 31.8%) |
| CIE-LAB | lab(32.45, 30.33, -60.76) |
| CIE-LCH | lch(32.45, 67.91, 296.53°) |
| OKLab | oklab(42.94% -0.0063 -0.1757) |
| OKLCH | oklch(42.94% 0.176 268) |
| XYZ | xyz(10.4027, 7.2865, 40.8944) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.65
Blue Blue
#2242C7
ΔE00 3.32
Cobalt
#0047AB
ΔE00 3.96
Ocean Blue
#4F42B5
ΔE00 5.42
Blueberry
#464196
ΔE00 5.52
Blue (survey)
#0343DF
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2841AE #AE9528
analogous
#2884AE #2841AE #5228AE
triadic
#2841AE #AE2841 #41AE28
tetradic
#2841AE #AE2884 #AE9528 #28AE52
square
#2841AE #AE2884 #AE9528 #28AE52
split-complementary
#2841AE #AE5228 #84AE28
monochromatic
#111C4A #1D2E7C #2841AE #405CD3 #7286DF
Accessibility & contrast
On white
8.54
#2841AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2841AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2841AE
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2841AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2841AE | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2841ae; /* rgb */ color: rgb(40, 65, 174); /* oklch */ color: oklch(42.9% 0.176 268.0);
Tailwind
colors: {
custom: {
50: '#7775c7',
500: '#2841ae',
950: '#000000',
},
}SCSS
$custom: #2841ae; $custom-light: #7775c7; $custom-dark: #000000;
JSON
{
"hex": "#2841ae",
"rgb": {
"r": 40,
"g": 65,
"b": 174
},
"hsl": {
"h": 228.806,
"s": 62.617,
"l": 41.961
},
"oklch": {
"l": 0.42941,
"c": 0.17579,
"h": 268
},
"luminance": 0.07288
}Semantic roles & 50–950 ramp
primary
#2841AE
secondary
#C6B56C
accent
#C742E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82