#525196#525196
#525196 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 47.0% C 0.110 H 282.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #525196 |
|---|---|
| RGB | rgb(82, 81, 150) |
| HSL | hsl(241, 30%, 45%) |
| HSV | hsv(241, 46%, 59%) |
| CMYK | cmyk(45.3%, 46%, 0%, 41.2%) |
| CIE-LAB | lab(37.63, 19.16, -37.87) |
| CIE-LCH | lch(37.63, 42.44, 296.84°) |
| OKLab | oklab(46.98% 0.0228 -0.1072) |
| OKLCH | oklch(46.98% 0.11 282) |
| XYZ | xyz(11.9255, 9.8802, 30.1269) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.26
Dusk
#4E5481
ΔE00 4.87
Blueberry
#464196
ΔE00 5.32
Darkslateblue
#483D8B
ΔE00 6.30
Dusky Blue
#475F94
ΔE00 6.82
Ocean Blue
#4F42B5
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#525196 #959651
analogous
#517296 #525196 #755196
triadic
#525196 #965251 #519652
tetradic
#525196 #965172 #959651 #519675
square
#525196 #965172 #959651 #519675
split-complementary
#525196 #967551 #729651
monochromatic
#272647 #3C3C6E #525196 #7372B3 #9A99C8
Accessibility & contrast
On white
7.06
#525196 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#525196 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #525196
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##525196 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##525196 | 1.00 | 7.06 | 2.98 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365B99
Deuteranopia (green-blind)
#325694
Tritanopia (blue-blind)
#3C5F6C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #525196; /* rgb */ color: rgb(82, 81, 150); /* oklch */ color: oklch(47.0% 0.110 282.0);
Tailwind
colors: {
custom: {
50: '#8681b5',
500: '#525196',
950: '#000000',
},
}SCSS
$custom: #525196; $custom-light: #8681b5; $custom-dark: #000000;
JSON
{
"hex": "#525196",
"rgb": {
"r": 82,
"g": 81,
"b": 150
},
"hsl": {
"h": 240.87,
"s": 29.87,
"l": 45.294
},
"oklch": {
"l": 0.46977,
"c": 0.1096,
"h": 282
},
"luminance": 0.09881
}Semantic roles & 50–950 ramp
primary
#525196
secondary
#B4B58E
accent
#C662C5
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80