#5752CF#5752CF
#5752CF is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.6% C 0.187 H 279.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5752CF |
|---|---|
| RGB | rgb(87, 82, 207) |
| HSL | hsl(242, 57%, 57%) |
| HSV | hsv(242, 60%, 81%) |
| CMYK | cmyk(58%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(42.10, 37.80, -64.24) |
| CIE-LCH | lch(42.10, 74.53, 300.47°) |
| OKLab | oklab(51.64% 0.0305 -0.1846) |
| OKLCH | oklch(51.64% 0.187 279.4) |
| XYZ | xyz(18.2067, 12.5645, 60.4852) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.84
Iris
#6258C4
ΔE00 2.86
Slate Blue
#6A5ACD
ΔE00 3.76
Light Indigo
#6D5ACF
ΔE00 4.19
Dark Periwinkle
#665FD1
ΔE00 4.40
Bluey Purple
#6241C7
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5752CF #CACF52
analogous
#528CCF #5752CF #9652CF
triadic
#5752CF #CF5752 #52CF57
tetradic
#5752CF #CF528C #CACF52 #52CF96
square
#5752CF #CF528C #CACF52 #52CF96
split-complementary
#5752CF #CF9652 #8CCF52
monochromatic
#282482 #3731B2 #5752CF #8682DC #B4B2EA
Accessibility & contrast
On white
5.98
#5752CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#5752CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5752CF
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5752CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5752CF | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#057089
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5752cf; /* rgb */ color: rgb(87, 82, 207); /* oklch */ color: oklch(51.6% 0.187 279.4);
Tailwind
colors: {
custom: {
50: '#9183df',
500: '#5752cf',
950: '#000000',
},
}SCSS
$custom: #5752cf; $custom-light: #9183df; $custom-dark: #000000;
JSON
{
"hex": "#5752cf",
"rgb": {
"r": 87,
"g": 82,
"b": 207
},
"hsl": {
"h": 242.4,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.51636,
"c": 0.18707,
"h": 279.4
},
"luminance": 0.12566
}Semantic roles & 50–950 ramp
primary
#5752CF
secondary
#D6D8A5
accent
#E048DA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83