#525199#525199
#525199 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 47.2% C 0.114 H 281.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #525199 |
|---|---|
| RGB | rgb(82, 81, 153) |
| HSL | hsl(241, 31%, 46%) |
| HSV | hsv(241, 47%, 60%) |
| CMYK | cmyk(46.4%, 47.1%, 0%, 40%) |
| CIE-LAB | lab(37.80, 20.10, -39.39) |
| CIE-LCH | lch(37.80, 44.23, 297.04°) |
| OKLab | oklab(47.17% 0.0232 -0.1117) |
| OKLCH | oklch(47.17% 0.114 281.7) |
| XYZ | xyz(12.1702, 9.9780, 31.4155) |
| Luminance | 0.0998 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.78
Blueberry
#464196
ΔE00 5.16
Dusk
#4E5481
ΔE00 5.37
Darkslateblue
#483D8B
ΔE00 6.33
Dusky Blue
#475F94
ΔE00 6.82
Ocean Blue
#4F42B5
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#525199 #989951
analogous
#517499 #525199 #765199
triadic
#525199 #995251 #519952
tetradic
#525199 #995174 #989951 #519976
square
#525199 #995174 #989951 #519976
split-complementary
#525199 #997651 #749951
monochromatic
#272749 #3D3C71 #525199 #7373B5 #9B9BCA
Accessibility & contrast
On white
7.01
#525199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#525199 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #525199
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##525199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##525199 | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345C9C
Deuteranopia (green-blind)
#305697
Tritanopia (blue-blind)
#3A606D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #525199; /* rgb */ color: rgb(82, 81, 153); /* oklch */ color: oklch(47.2% 0.114 281.7);
Tailwind
colors: {
custom: {
50: '#8781b7',
500: '#525199',
950: '#000000',
},
}SCSS
$custom: #525199; $custom-light: #8781b7; $custom-dark: #000000;
JSON
{
"hex": "#525199",
"rgb": {
"r": 82,
"g": 81,
"b": 153
},
"hsl": {
"h": 240.833,
"s": 30.769,
"l": 45.882
},
"oklch": {
"l": 0.47168,
"c": 0.11407,
"h": 281.7
},
"luminance": 0.09979
}Semantic roles & 50–950 ramp
primary
#525199
secondary
#B6B78F
accent
#C761C6
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80