#5253C2#5253C2
#5253C2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.4% C 0.169 H 278.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5253C2 |
|---|---|
| RGB | rgb(82, 83, 194) |
| HSL | hsl(239, 48%, 54%) |
| HSV | hsv(239, 58%, 76%) |
| CMYK | cmyk(57.7%, 57.2%, 0%, 23.9%) |
| CIE-LAB | lab(41.02, 32.08, -58.49) |
| CIE-LCH | lch(41.02, 66.71, 298.74°) |
| OKLab | oklab(50.44% 0.0237 -0.1678) |
| OKLCH | oklch(50.44% 0.169 278) |
| XYZ | xyz(16.3074, 11.8742, 52.4611) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.96
Warm Blue
#4B57DB
ΔE00 3.70
Slate Blue
#6A5ACD
ΔE00 4.69
Dark Periwinkle
#665FD1
ΔE00 5.13
Light Indigo
#6D5ACF
ΔE00 5.25
Ocean Blue
#4F42B5
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5253C2 #C2C152
analogous
#528BC2 #5253C2 #8952C2
triadic
#5253C2 #C25253 #53C252
tetradic
#5253C2 #C2528B #C2C152 #52C289
square
#5253C2 #C2528B #C2C152 #52C289
split-complementary
#5253C2 #C28952 #8BC252
monochromatic
#282972 #38399F #5253C2 #7F80D2 #ACADE2
Accessibility & contrast
On white
6.22
#5253C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#5253C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5253C2
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5253C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5253C2 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#096D82
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5253c2; /* rgb */ color: rgb(82, 83, 194); /* oklch */ color: oklch(50.4% 0.169 278.0);
Tailwind
colors: {
custom: {
50: '#8d83d5',
500: '#5253c2',
950: '#000000',
},
}SCSS
$custom: #5253c2; $custom-light: #8d83d5; $custom-dark: #000000;
JSON
{
"hex": "#5253c2",
"rgb": {
"r": 82,
"g": 83,
"b": 194
},
"hsl": {
"h": 239.464,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.5044,
"c": 0.16947,
"h": 278
},
"luminance": 0.11875
}Semantic roles & 50–950 ramp
primary
#5253C2
secondary
#D0CFA0
accent
#D650D7
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83