#525299#525299
#525299 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.4% C 0.113 H 281.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #525299 |
|---|---|
| RGB | rgb(82, 82, 153) |
| HSL | hsl(240, 30%, 46%) |
| HSV | hsv(240, 46%, 60%) |
| CMYK | cmyk(46.4%, 46.4%, 0%, 40%) |
| CIE-LAB | lab(38.07, 19.47, -38.97) |
| CIE-LCH | lch(38.07, 43.56, 296.54°) |
| OKLab | oklab(47.37% 0.0219 -0.1104) |
| OKLCH | oklch(47.37% 0.113 281.2) |
| XYZ | xyz(12.2450, 10.1277, 31.4405) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.68
Dusk
#4E5481
ΔE00 5.20
Blueberry
#464196
ΔE00 5.48
Dusky Blue
#475F94
ΔE00 6.50
Darkslateblue
#483D8B
ΔE00 6.65
Ocean Blue
#4F42B5
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#525299 #999952
analogous
#527599 #525299 #755299
triadic
#525299 #995252 #529952
tetradic
#525299 #995275 #999952 #529975
square
#525299 #995275 #999952 #529975
split-complementary
#525299 #997552 #759952
monochromatic
#272749 #3D3D71 #525299 #7474B4 #9C9CCA
Accessibility & contrast
On white
6.94
#525299 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#525299 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #525299
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##525299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##525299 | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365C9C
Deuteranopia (green-blind)
#315797
Tritanopia (blue-blind)
#3A616E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #525299; /* rgb */ color: rgb(82, 82, 153); /* oklch */ color: oklch(47.4% 0.113 281.2);
Tailwind
colors: {
custom: {
50: '#8782b7',
500: '#525299',
950: '#000000',
},
}SCSS
$custom: #525299; $custom-light: #8782b7; $custom-dark: #000000;
JSON
{
"hex": "#525299",
"rgb": {
"r": 82,
"g": 82,
"b": 153
},
"hsl": {
"h": 240,
"s": 30.213,
"l": 46.078
},
"oklch": {
"l": 0.47371,
"c": 0.11258,
"h": 281.2
},
"luminance": 0.10128
}Semantic roles & 50–950 ramp
primary
#525299
secondary
#B7B790
accent
#C661C6
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80