#525FD4#525FD4
#525FD4 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.178 H 274.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #525FD4 |
|---|---|
| RGB | rgb(82, 95, 212) |
| HSL | hsl(234, 60%, 58%) |
| HSV | hsv(234, 61%, 83%) |
| CMYK | cmyk(61.3%, 55.2%, 0%, 16.9%) |
| CIE-LAB | lab(45.26, 30.59, -61.99) |
| CIE-LCH | lch(45.26, 69.13, 296.26°) |
| OKLab | oklab(54.01% 0.0125 -0.178) |
| OKLCH | oklch(54.01% 0.178 274) |
| XYZ | xyz(19.4516, 14.7301, 64.0927) |
| Luminance | 0.1473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.64
Dark Periwinkle
#665FD1
ΔE00 3.40
Iris
#6258C4
ΔE00 4.48
Royal Blue
#4169E1
ΔE00 4.68
Azul
#1D5DEC
ΔE00 4.77
Slate Blue
#6A5ACD
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#525FD4 #D4C752
analogous
#52A0D4 #525FD4 #8652D4
triadic
#525FD4 #D4525F #5FD452
tetradic
#525FD4 #D452A0 #D4C752 #52D486
square
#525FD4 #D452A0 #D4C752 #52D486
split-complementary
#525FD4 #D48652 #A0D452
monochromatic
#222C89 #2E3CBA #525FD4 #838CE0 #B4BAEC
Accessibility & contrast
On white
5.32
#525FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#525FD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #525FD4
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##525FD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##525FD4 | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #525fd4; /* rgb */ color: rgb(82, 95, 212); /* oklch */ color: oklch(54.0% 0.178 274.0);
Tailwind
colors: {
custom: {
50: '#8f8ce2',
500: '#525fd4',
950: '#000000',
},
}SCSS
$custom: #525fd4; $custom-light: #8f8ce2; $custom-dark: #000000;
JSON
{
"hex": "#525fd4",
"rgb": {
"r": 82,
"g": 95,
"b": 212
},
"hsl": {
"h": 234,
"s": 60.185,
"l": 57.647
},
"oklch": {
"l": 0.54007,
"c": 0.17843,
"h": 274
},
"luminance": 0.14732
}Semantic roles & 50–950 ramp
primary
#525FD4
secondary
#DBD6A7
accent
#D344E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83