#525095#525095
#525095 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.7% C 0.110 H 282.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #525095 |
|---|---|
| RGB | rgb(82, 80, 149) |
| HSL | hsl(242, 30%, 45%) |
| HSV | hsv(242, 46%, 58%) |
| CMYK | cmyk(45%, 46.3%, 0%, 41.6%) |
| CIE-LAB | lab(37.30, 19.49, -37.78) |
| CIE-LCH | lch(37.30, 42.51, 297.29°) |
| OKLab | oklab(46.71% 0.0239 -0.107) |
| OKLCH | oklch(46.71% 0.11 282.6) |
| XYZ | xyz(11.7716, 9.7006, 29.6801) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.25
Dusk
#4E5481
ΔE00 4.91
Blueberry
#464196
ΔE00 5.07
Darkslateblue
#483D8B
ΔE00 5.96
Dusky Blue
#475F94
ΔE00 7.16
Ocean Blue
#4F42B5
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#525095 #939550
analogous
#507195 #525095 #745095
triadic
#525095 #955250 #509552
tetradic
#525095 #955071 #939550 #509574
square
#525095 #955071 #939550 #509574
split-complementary
#525095 #957450 #719550
monochromatic
#262545 #3C3B6D #525095 #7270B2 #9998C8
Accessibility & contrast
On white
7.14
#525095 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#525095 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #525095
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##525095 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##525095 | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#355A98
Deuteranopia (green-blind)
#325593
Tritanopia (blue-blind)
#3D5E6B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #525095; /* rgb */ color: rgb(82, 80, 149); /* oklch */ color: oklch(46.7% 0.110 282.6);
Tailwind
colors: {
custom: {
50: '#8681b4',
500: '#525095',
950: '#000000',
},
}SCSS
$custom: #525095; $custom-light: #8681b4; $custom-dark: #000000;
JSON
{
"hex": "#525095",
"rgb": {
"r": 82,
"g": 80,
"b": 149
},
"hsl": {
"h": 241.739,
"s": 30.131,
"l": 44.902
},
"oklch": {
"l": 0.46711,
"c": 0.10961,
"h": 282.6
},
"luminance": 0.09701
}Semantic roles & 50–950 ramp
primary
#525095
secondary
#B3B48C
accent
#C661C3
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80