#2945AD#2945AD
#2945AD is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.169 H 267.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2945AD |
|---|---|
| RGB | rgb(41, 69, 173) |
| HSL | hsl(227, 62%, 42%) |
| HSV | hsv(227, 76%, 68%) |
| CMYK | cmyk(76.3%, 60.1%, 0%, 32.2%) |
| CIE-LAB | lab(33.44, 27.43, -58.54) |
| CIE-LCH | lch(33.44, 64.65, 295.10°) |
| OKLab | oklab(43.66% -0.008 -0.1691) |
| OKLCH | oklch(43.66% 0.169 267.3) |
| XYZ | xyz(10.5828, 7.7436, 40.4640) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.08
Blue Blue
#2242C7
ΔE00 3.69
Sapphire (survey)
#2138AB
ΔE00 3.92
Sapphire
#0F52BA
ΔE00 5.22
Cobalt (survey)
#1E488F
ΔE00 5.44
Blueberry
#464196
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2945AD #AD9129
analogous
#2987AD #2945AD #4F29AD
triadic
#2945AD #AD2945 #45AD29
tetradic
#2945AD #AD2987 #AD9129 #29AD4F
square
#2945AD #AD2987 #AD9129 #29AD4F
split-complementary
#2945AD #AD4F29 #87AD29
monochromatic
#121E4A #1D317C #2945AD #4160D2 #7389DE
Accessibility & contrast
On white
8.24
#2945AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2945AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2945AD
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2945AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2945AD | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2945ad; /* rgb */ color: rgb(41, 69, 173); /* oklch */ color: oklch(43.7% 0.169 267.3);
Tailwind
colors: {
custom: {
50: '#7778c6',
500: '#2945ad',
950: '#000000',
},
}SCSS
$custom: #2945ad; $custom-light: #7778c6; $custom-dark: #000000;
JSON
{
"hex": "#2945ad",
"rgb": {
"r": 41,
"g": 69,
"b": 173
},
"hsl": {
"h": 227.273,
"s": 61.682,
"l": 41.961
},
"oklch": {
"l": 0.43664,
"c": 0.16929,
"h": 267.3
},
"luminance": 0.07745
}Semantic roles & 50–950 ramp
primary
#2945AD
secondary
#C5B26D
accent
#C243E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82