#5253D5#5253D5
#5253D5 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.9% C 0.195 H 276.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5253D5 |
|---|---|
| RGB | rgb(82, 83, 213) |
| HSL | hsl(240, 61%, 58%) |
| HSV | hsv(240, 62%, 84%) |
| CMYK | cmyk(61.5%, 61%, 0%, 16.5%) |
| CIE-LAB | lab(42.43, 38.31, -67.16) |
| CIE-LCH | lch(42.43, 77.31, 299.70°) |
| OKLab | oklab(51.93% 0.0233 -0.1933) |
| OKLCH | oklch(51.93% 0.195 276.9) |
| XYZ | xyz(18.5793, 12.7830, 64.4262) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.80
Iris
#6258C4
ΔE00 3.61
Slate Blue
#6A5ACD
ΔE00 4.29
Dark Periwinkle
#665FD1
ΔE00 4.49
Light Indigo
#6D5ACF
ΔE00 4.70
Electric Blue
#0652FF
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5253D5 #D5D452
analogous
#5294D5 #5253D5 #9252D5
triadic
#5253D5 #D55253 #53D552
tetradic
#5253D5 #D55294 #D5D452 #52D592
square
#5253D5 #D55294 #D5D452 #52D592
split-complementary
#5253D5 #D59252 #94D552
monochromatic
#22238B #2E2FBC #5253D5 #8384E1 #B4B5ED
Accessibility & contrast
On white
5.90
#5253D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#5253D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5253D5
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5253D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5253D5 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5253d5; /* rgb */ color: rgb(82, 83, 213); /* oklch */ color: oklch(51.9% 0.195 276.9);
Tailwind
colors: {
custom: {
50: '#9083e3',
500: '#5253d5',
950: '#000000',
},
}SCSS
$custom: #5253d5; $custom-light: #9083e3; $custom-dark: #000000;
JSON
{
"hex": "#5253d5",
"rgb": {
"r": 82,
"g": 83,
"b": 213
},
"hsl": {
"h": 239.542,
"s": 60.93,
"l": 57.843
},
"oklch": {
"l": 0.51934,
"c": 0.19468,
"h": 276.9
},
"luminance": 0.12784
}Semantic roles & 50–950 ramp
primary
#5253D5
secondary
#DCDBA7
accent
#E344E4
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84