#525BB5#525BB5
#525BB5 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.141 H 275.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #525BB5 |
|---|---|
| RGB | rgb(82, 91, 181) |
| HSL | hsl(235, 40%, 52%) |
| HSV | hsv(235, 55%, 71%) |
| CMYK | cmyk(54.7%, 49.7%, 0%, 29%) |
| CIE-LAB | lab(42.17, 22.78, -49.03) |
| CIE-LCH | lch(42.17, 54.06, 294.91°) |
| OKLab | oklab(51.03% 0.0145 -0.1399) |
| OKLCH | oklch(51.03% 0.141 275.9) |
| XYZ | xyz(15.5586, 12.6112, 45.3214) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.18
Warm Blue
#4B57DB
ΔE00 5.46
Dark Periwinkle
#665FD1
ΔE00 5.54
Slate Blue
#6A5ACD
ΔE00 5.87
Dusky Blue
#475F94
ΔE00 5.99
Light Indigo
#6D5ACF
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#525BB5 #B5AC52
analogous
#528DB5 #525BB5 #7B52B5
triadic
#525BB5 #B5525B #5BB552
tetradic
#525BB5 #B5528D #B5AC52 #52B57B
square
#525BB5 #B5528D #B5AC52 #52B57B
split-complementary
#525BB5 #B57B52 #8DB552
monochromatic
#2A2F62 #3C448D #525BB5 #7D84C7 #A8ACDA
Accessibility & contrast
On white
5.96
#525BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#525BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #525BB5
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##525BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##525BB5 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F68B8
Deuteranopia (green-blind)
#2260B3
Tritanopia (blue-blind)
#216F7F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #525bb5; /* rgb */ color: rgb(82, 91, 181); /* oklch */ color: oklch(51.0% 0.141 275.9);
Tailwind
colors: {
custom: {
50: '#8a89cc',
500: '#525bb5',
950: '#000000',
},
}SCSS
$custom: #525bb5; $custom-light: #8a89cc; $custom-dark: #000000;
JSON
{
"hex": "#525bb5",
"rgb": {
"r": 82,
"g": 91,
"b": 181
},
"hsl": {
"h": 234.545,
"s": 40.081,
"l": 51.569
},
"oklch": {
"l": 0.51026,
"c": 0.14067,
"h": 275.9
},
"luminance": 0.12612
}Semantic roles & 50–950 ramp
primary
#525BB5
secondary
#C7C39C
accent
#C558D0
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82