#2942AD#2942AD
#2942AD is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.173 H 268.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2942AD |
|---|---|
| RGB | rgb(41, 66, 173) |
| HSL | hsl(229, 62%, 42%) |
| HSV | hsv(229, 76%, 68%) |
| CMYK | cmyk(76.3%, 61.8%, 0%, 32.2%) |
| CIE-LAB | lab(32.67, 29.41, -59.81) |
| CIE-LCH | lch(32.67, 66.65, 296.18°) |
| OKLab | oklab(43.09% -0.006 -0.1729) |
| OKLCH | oklch(43.09% 0.173 268) |
| XYZ | xyz(10.4029, 7.3838, 40.4040) |
| Luminance | 0.0738 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.96
Blue Blue
#2242C7
ΔE00 3.46
Cobalt
#0047AB
ΔE00 3.75
Blueberry
#464196
ΔE00 5.45
Ocean Blue
#4F42B5
ΔE00 5.49
Cobalt (survey)
#1E488F
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2942AD #AD9429
analogous
#2984AD #2942AD #5229AD
triadic
#2942AD #AD2942 #42AD29
tetradic
#2942AD #AD2984 #AD9429 #29AD52
square
#2942AD #AD2984 #AD9429 #29AD52
split-complementary
#2942AD #AD5229 #84AD29
monochromatic
#121C4A #1D2F7C #2942AD #415DD2 #7387DE
Accessibility & contrast
On white
8.48
#2942AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2942AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2942AD
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2942AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2942AD | 1.00 | 8.48 | 2.48 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B1
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2942ad; /* rgb */ color: rgb(41, 66, 173); /* oklch */ color: oklch(43.1% 0.173 268.0);
Tailwind
colors: {
custom: {
50: '#7776c6',
500: '#2942ad',
950: '#000000',
},
}SCSS
$custom: #2942ad; $custom-light: #7776c6; $custom-dark: #000000;
JSON
{
"hex": "#2942ad",
"rgb": {
"r": 41,
"g": 66,
"b": 173
},
"hsl": {
"h": 228.636,
"s": 61.682,
"l": 41.961
},
"oklch": {
"l": 0.43086,
"c": 0.17297,
"h": 268
},
"luminance": 0.07385
}Semantic roles & 50–950 ramp
primary
#2942AD
secondary
#C5B46D
accent
#C643E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82