#525CD9#525CD9
#525CD9 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.189 H 274.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #525CD9 |
|---|---|
| RGB | rgb(82, 92, 217) |
| HSL | hsl(236, 64%, 59%) |
| HSV | hsv(236, 62%, 85%) |
| CMYK | cmyk(62.2%, 57.6%, 0%, 14.9%) |
| CIE-LAB | lab(44.88, 34.12, -65.46) |
| CIE-LCH | lch(44.88, 73.82, 297.53°) |
| OKLab | oklab(53.84% 0.0153 -0.1882) |
| OKLCH | oklch(53.84% 0.189 274.7) |
| XYZ | xyz(19.8271, 14.4563, 67.3777) |
| Luminance | 0.1446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.65
Dark Periwinkle
#665FD1
ΔE00 3.34
Iris
#6258C4
ΔE00 4.25
Slate Blue
#6A5ACD
ΔE00 4.44
Azul
#1D5DEC
ΔE00 4.74
Light Indigo
#6D5ACF
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#525CD9 #D9CF52
analogous
#529FD9 #525CD9 #8B52D9
triadic
#525CD9 #D9525C #5CD952
tetradic
#525CD9 #D9529F #D9CF52 #52D98B
square
#525CD9 #D9529F #D9CF52 #52D98B
split-complementary
#525CD9 #D98B52 #9FD952
monochromatic
#202891 #2B36C3 #525CD9 #848BE4 #B6BBEF
Accessibility & contrast
On white
5.40
#525CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#525CD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #525CD9
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##525CD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##525CD9 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #525cd9; /* rgb */ color: rgb(82, 92, 217); /* oklch */ color: oklch(53.8% 0.189 274.7);
Tailwind
colors: {
custom: {
50: '#908ae6',
500: '#525cd9',
950: '#000000',
},
}SCSS
$custom: #525cd9; $custom-light: #908ae6; $custom-dark: #000000;
JSON
{
"hex": "#525cd9",
"rgb": {
"r": 82,
"g": 92,
"b": 217
},
"hsl": {
"h": 235.556,
"s": 63.981,
"l": 58.627
},
"oklch": {
"l": 0.53836,
"c": 0.18886,
"h": 274.7
},
"luminance": 0.14458
}Semantic roles & 50–950 ramp
primary
#525CD9
secondary
#DEDAA9
accent
#DB41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84