#525FCB#525FCB
#525FCB is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.3% C 0.166 H 274.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #525FCB |
|---|---|
| RGB | rgb(82, 95, 203) |
| HSL | hsl(234, 54%, 56%) |
| HSV | hsv(234, 60%, 80%) |
| CMYK | cmyk(59.6%, 53.2%, 0%, 20.4%) |
| CIE-LAB | lab(44.64, 27.57, -57.83) |
| CIE-LCH | lch(44.64, 64.06, 295.49°) |
| OKLab | oklab(53.35% 0.0121 -0.1657) |
| OKLCH | oklch(53.35% 0.166 274.2) |
| XYZ | xyz(18.3478, 14.2886, 58.2794) |
| Luminance | 0.1429 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.26
Dark Periwinkle
#665FD1
ΔE00 3.69
Iris
#6258C4
ΔE00 4.18
Slate Blue
#6A5ACD
ΔE00 4.93
Royal Blue
#4169E1
ΔE00 5.14
Azul
#1D5DEC
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#525FCB #CBBE52
analogous
#529BCB #525FCB #8152CB
triadic
#525FCB #CB525F #5FCB52
tetradic
#525FCB #CB529B #CBBE52 #52CB81
square
#525FCB #CB529B #CBBE52 #52CB81
split-complementary
#525FCB #CB8152 #9BCB52
monochromatic
#262F7D #3441AC #525FCB #818BD9 #B0B6E7
Accessibility & contrast
On white
5.44
#525FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#525FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #525FCB
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##525FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##525FCB | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B6FCF
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #525fcb; /* rgb */ color: rgb(82, 95, 203); /* oklch */ color: oklch(53.3% 0.166 274.2);
Tailwind
colors: {
custom: {
50: '#8d8cdb',
500: '#525fcb',
950: '#000000',
},
}SCSS
$custom: #525fcb; $custom-light: #8d8cdb; $custom-dark: #000000;
JSON
{
"hex": "#525fcb",
"rgb": {
"r": 82,
"g": 95,
"b": 203
},
"hsl": {
"h": 233.554,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.53348,
"c": 0.16618,
"h": 274.2
},
"luminance": 0.1429
}Semantic roles & 50–950 ramp
primary
#525FCB
secondary
#D5D0A3
accent
#CD4BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83