#5253CB#5253CB
#5253CB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.1% C 0.182 H 277.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5253CB |
|---|---|
| RGB | rgb(82, 83, 203) |
| HSL | hsl(240, 54%, 56%) |
| HSV | hsv(240, 60%, 80%) |
| CMYK | cmyk(59.6%, 59.1%, 0%, 20.4%) |
| CIE-LAB | lab(41.67, 35.03, -62.64) |
| CIE-LCH | lch(41.67, 71.77, 299.22°) |
| OKLab | oklab(51.14% 0.0236 -0.18) |
| OKLCH | oklch(51.14% 0.182 277.5) |
| XYZ | xyz(17.3490, 12.2909, 57.9465) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.63
Iris
#6258C4
ΔE00 3.04
Slate Blue
#6A5ACD
ΔE00 4.33
Dark Periwinkle
#665FD1
ΔE00 4.68
Light Indigo
#6D5ACF
ΔE00 4.85
Ocean Blue
#4F42B5
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5253CB #CBCA52
analogous
#528FCB #5253CB #8D52CB
triadic
#5253CB #CB5253 #53CB52
tetradic
#5253CB #CB528F #CBCA52 #52CB8D
square
#5253CB #CB528F #CBCA52 #52CB8D
split-complementary
#5253CB #CB8D52 #8FCB52
monochromatic
#26267D #3435AC #5253CB #8182D9 #B0B1E7
Accessibility & contrast
On white
6.07
#5253CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#5253CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5253CB
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5253CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5253CB | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5253cb; /* rgb */ color: rgb(82, 83, 203); /* oklch */ color: oklch(51.1% 0.182 277.5);
Tailwind
colors: {
custom: {
50: '#8e83dc',
500: '#5253cb',
950: '#000000',
},
}SCSS
$custom: #5253cb; $custom-light: #8e83dc; $custom-dark: #000000;
JSON
{
"hex": "#5253cb",
"rgb": {
"r": 82,
"g": 83,
"b": 203
},
"hsl": {
"h": 239.504,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.51136,
"c": 0.18155,
"h": 277.5
},
"luminance": 0.12292
}Semantic roles & 50–950 ramp
primary
#5253CB
secondary
#D5D5A3
accent
#DC4BDD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83