#2952BA#2952BA
#2952BA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.171 H 264.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2952BA |
|---|---|
| RGB | rgb(41, 82, 186) |
| HSL | hsl(223, 64%, 45%) |
| HSV | hsv(223, 78%, 73%) |
| CMYK | cmyk(78%, 55.9%, 0%, 27.1%) |
| CIE-LAB | lab(37.93, 23.77, -58.92) |
| CIE-LCH | lch(37.93, 63.54, 291.97°) |
| OKLab | oklab(47.35% -0.0165 -0.17) |
| OKLCH | oklch(47.35% 0.171 264.4) |
| XYZ | xyz(12.7915, 10.0497, 47.7105) |
| Luminance | 0.1005 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.83
Cobalt
#0047AB
ΔE00 4.29
Blue Blue
#2242C7
ΔE00 5.55
Denim
#1560BD
ΔE00 5.79
Denim Blue
#3B5B92
ΔE00 6.05
Dusk Blue
#26538D
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2952BA #BA9129
analogous
#299BBA #2952BA #4829BA
triadic
#2952BA #BA2952 #52BA29
tetradic
#2952BA #BA299B #BA9129 #29BA48
square
#2952BA #BA299B #BA9129 #29BA48
split-complementary
#2952BA #BA4829 #9BBA29
monochromatic
#132656 #1E3C88 #2952BA #4971D7 #7B98E2
Accessibility & contrast
On white
6.98
#2952BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#2952BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2952BA
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2952BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2952BA | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2952ba; /* rgb */ color: rgb(41, 82, 186); /* oklch */ color: oklch(47.4% 0.171 264.4);
Tailwind
colors: {
custom: {
50: '#7982d0',
500: '#2952ba',
950: '#000000',
},
}SCSS
$custom: #2952ba; $custom-light: #7982d0; $custom-dark: #000000;
JSON
{
"hex": "#2952ba",
"rgb": {
"r": 41,
"g": 82,
"b": 186
},
"hsl": {
"h": 223.034,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.47351,
"c": 0.17081,
"h": 264.4
},
"luminance": 0.10051
}Semantic roles & 50–950 ramp
primary
#2952BA
secondary
#CAB275
accent
#B841E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82