#6052CD#6052CD
#6052CD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.2% C 0.183 H 283.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6052CD |
|---|---|
| RGB | rgb(96, 82, 205) |
| HSL | hsl(247, 55%, 56%) |
| HSV | hsv(247, 60%, 80%) |
| CMYK | cmyk(53.2%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(42.65, 38.80, -62.15) |
| CIE-LCH | lch(42.65, 73.27, 301.97°) |
| OKLab | oklab(52.17% 0.0418 -0.1782) |
| OKLCH | oklch(52.17% 0.183 283.2) |
| XYZ | xyz(18.8573, 12.9281, 59.2475) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.24
Slate Blue
#6A5ACD
ΔE00 2.79
Light Indigo
#6D5ACF
ΔE00 3.13
Dark Periwinkle
#665FD1
ΔE00 4.03
Warm Blue
#4B57DB
ΔE00 4.03
Bluey Purple
#6241C7
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6052CD #BFCD52
analogous
#5282CD #6052CD #9E52CD
triadic
#6052CD #CD6052 #52CD60
tetradic
#6052CD #CD5282 #BFCD52 #52CD9E
square
#6052CD #CD5282 #BFCD52 #52CD9E
split-complementary
#6052CD #CD9E52 #82CD52
monochromatic
#2F2580 #4133AF #6052CD #8C81DB #B7B1E8
Accessibility & contrast
On white
5.86
#6052CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#6052CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6052CD
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6052CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6052CD | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#316F88
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6052cd; /* rgb */ color: rgb(96, 82, 205); /* oklch */ color: oklch(52.2% 0.183 283.2);
Tailwind
colors: {
custom: {
50: '#9683dd',
500: '#6052cd',
950: '#000000',
},
}SCSS
$custom: #6052cd; $custom-light: #9683dd; $custom-dark: #000000;
JSON
{
"hex": "#6052cd",
"rgb": {
"r": 96,
"g": 82,
"b": 205
},
"hsl": {
"h": 246.829,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.52173,
"c": 0.18301,
"h": 283.2
},
"luminance": 0.12929
}Semantic roles & 50–950 ramp
primary
#6052CD
secondary
#D1D7A4
accent
#DE49CE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83