#525AAA#525AAA
#525AAA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.1% C 0.126 H 276.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #525AAA |
|---|---|
| RGB | rgb(82, 90, 170) |
| HSL | hsl(235, 35%, 49%) |
| HSV | hsv(235, 52%, 67%) |
| CMYK | cmyk(51.8%, 47.1%, 0%, 33.3%) |
| CIE-LAB | lab(41.23, 19.81, -44.07) |
| CIE-LCH | lch(41.23, 48.32, 294.21°) |
| OKLab | oklab(50.09% 0.0144 -0.1253) |
| OKLCH | oklch(50.09% 0.126 276.5) |
| XYZ | xyz(14.3893, 12.0076, 39.5819) |
| Luminance | 0.1201 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 5.04
Iris
#6258C4
ΔE00 5.28
Twilight
#4E518B
ΔE00 5.83
Denim Blue
#3B5B92
ΔE00 6.25
Dark Periwinkle
#665FD1
ΔE00 6.94
Slate Blue
#6A5ACD
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#525AAA #AAA252
analogous
#5286AA #525AAA #7652AA
triadic
#525AAA #AA525A #5AAA52
tetradic
#525AAA #AA5286 #AAA252 #52AA76
square
#525AAA #AA5286 #AAA252 #52AA76
split-complementary
#525AAA #AA7652 #86AA52
monochromatic
#2A2E57 #3E4481 #525AAA #7A80BF #A4A8D3
Accessibility & contrast
On white
6.17
#525AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#525AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #525AAA
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##525AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##525AAA | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#2E5EA8
Tritanopia (blue-blind)
#2D6B7A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #525aaa; /* rgb */ color: rgb(82, 90, 170); /* oklch */ color: oklch(50.1% 0.126 276.5);
Tailwind
colors: {
custom: {
50: '#8988c4',
500: '#525aaa',
950: '#000000',
},
}SCSS
$custom: #525aaa; $custom-light: #8988c4; $custom-dark: #000000;
JSON
{
"hex": "#525aaa",
"rgb": {
"r": 82,
"g": 90,
"b": 170
},
"hsl": {
"h": 234.545,
"s": 34.921,
"l": 49.412
},
"oklch": {
"l": 0.50093,
"c": 0.12616,
"h": 276.5
},
"luminance": 0.12008
}Semantic roles & 50–950 ramp
primary
#525AAA
secondary
#C0BD98
accent
#C15DCB
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82