#525BB2#525BB2
#525BB2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.136 H 276.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #525BB2 |
|---|---|
| RGB | rgb(82, 91, 178) |
| HSL | hsl(234, 38%, 51%) |
| HSV | hsv(234, 54%, 70%) |
| CMYK | cmyk(53.9%, 48.9%, 0%, 30.2%) |
| CIE-LAB | lab(41.98, 21.79, -47.57) |
| CIE-LCH | lch(41.98, 52.33, 294.61°) |
| OKLab | oklab(50.82% 0.0142 -0.1356) |
| OKLCH | oklch(50.82% 0.136 276) |
| XYZ | xyz(15.2541, 12.4894, 43.7177) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.48
Dusky Blue
#475F94
ΔE00 5.65
Dark Periwinkle
#665FD1
ΔE00 5.90
Warm Blue
#4B57DB
ΔE00 5.92
Slate Blue
#6A5ACD
ΔE00 6.19
Denim Blue
#3B5B92
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#525BB2 #B2A952
analogous
#528BB2 #525BB2 #7952B2
triadic
#525BB2 #B2525B #5BB252
tetradic
#525BB2 #B2528B #B2A952 #52B279
square
#525BB2 #B2528B #B2A952 #52B279
split-complementary
#525BB2 #B27952 #8BB252
monochromatic
#2A2F5F #3D448A #525BB2 #7C83C5 #A7ABD8
Accessibility & contrast
On white
6.00
#525BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#525BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #525BB2
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##525BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##525BB2 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#265FB0
Tritanopia (blue-blind)
#256E7E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #525bb2; /* rgb */ color: rgb(82, 91, 178); /* oklch */ color: oklch(50.8% 0.136 276.0);
Tailwind
colors: {
custom: {
50: '#8a89c9',
500: '#525bb2',
950: '#000000',
},
}SCSS
$custom: #525bb2; $custom-light: #8a89c9; $custom-dark: #000000;
JSON
{
"hex": "#525bb2",
"rgb": {
"r": 82,
"g": 91,
"b": 178
},
"hsl": {
"h": 234.375,
"s": 38.4,
"l": 50.98
},
"oklch": {
"l": 0.50823,
"c": 0.13637,
"h": 276
},
"luminance": 0.1249
}Semantic roles & 50–950 ramp
primary
#525BB2
secondary
#C5C19B
accent
#C359CE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82