#5253CF#5253CF
#5253CF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.5% C 0.187 H 277.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5253CF |
|---|---|
| RGB | rgb(82, 83, 207) |
| HSL | hsl(240, 57%, 57%) |
| HSV | hsv(240, 60%, 81%) |
| CMYK | cmyk(60.4%, 59.9%, 0%, 18.8%) |
| CIE-LAB | lab(41.98, 36.34, -64.46) |
| CIE-LCH | lch(41.98, 73.99, 299.42°) |
| OKLab | oklab(51.45% 0.0235 -0.1853) |
| OKLCH | oklch(51.45% 0.187 277.2) |
| XYZ | xyz(17.8318, 12.4840, 60.4894) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.24
Iris
#6258C4
ΔE00 3.22
Slate Blue
#6A5ACD
ΔE00 4.27
Dark Periwinkle
#665FD1
ΔE00 4.57
Light Indigo
#6D5ACF
ΔE00 4.75
Bluey Purple
#6241C7
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5253CF #CFCE52
analogous
#5292CF #5253CF #9052CF
triadic
#5253CF #CF5253 #53CF52
tetradic
#5253CF #CF5292 #CFCE52 #52CF90
square
#5253CF #CF5292 #CFCE52 #52CF90
split-complementary
#5253CF #CF9052 #92CF52
monochromatic
#242582 #3133B2 #5253CF #8283DC #B2B2EA
Accessibility & contrast
On white
6.01
#5253CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#5253CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5253CF
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5253CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5253CF | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5253cf; /* rgb */ color: rgb(82, 83, 207); /* oklch */ color: oklch(51.5% 0.187 277.2);
Tailwind
colors: {
custom: {
50: '#8f83df',
500: '#5253cf',
950: '#000000',
},
}SCSS
$custom: #5253cf; $custom-light: #8f83df; $custom-dark: #000000;
JSON
{
"hex": "#5253cf",
"rgb": {
"r": 82,
"g": 83,
"b": 207
},
"hsl": {
"h": 239.52,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.51452,
"c": 0.18684,
"h": 277.2
},
"luminance": 0.12485
}Semantic roles & 50–950 ramp
primary
#5253CF
secondary
#D8D8A5
accent
#DF48E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83