#5757CF#5757CF
#5757CF is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.181 H 278.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5757CF |
|---|---|
| RGB | rgb(87, 87, 207) |
| HSL | hsl(240, 56%, 58%) |
| HSV | hsv(240, 58%, 81%) |
| CMYK | cmyk(58%, 58%, 0%, 18.8%) |
| CIE-LAB | lab(43.28, 34.76, -62.32) |
| CIE-LCH | lch(43.28, 71.36, 299.15°) |
| OKLab | oklab(52.51% 0.0257 -0.1789) |
| OKLCH | oklch(52.51% 0.181 278.2) |
| XYZ | xyz(18.5976, 13.3463, 60.6155) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.16
Iris
#6258C4
ΔE00 2.46
Dark Periwinkle
#665FD1
ΔE00 3.29
Slate Blue
#6A5ACD
ΔE00 3.31
Light Indigo
#6D5ACF
ΔE00 3.82
Azul
#1D5DEC
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5757CF #CFCF57
analogous
#5793CF #5757CF #9357CF
triadic
#5757CF #CF5757 #57CF57
tetradic
#5757CF #CF5793 #CFCF57 #57CF93
square
#5757CF #CF5793 #CFCF57 #57CF93
split-complementary
#5757CF #CF9357 #93CF57
monochromatic
#262685 #3434B5 #5757CF #8787DD #B6B6EA
Accessibility & contrast
On white
5.72
#5757CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#5757CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5757CF
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5757CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5757CF | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#03748A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5757cf; /* rgb */ color: rgb(87, 87, 207); /* oklch */ color: oklch(52.5% 0.181 278.2);
Tailwind
colors: {
custom: {
50: '#9186de',
500: '#5757cf',
950: '#000000',
},
}SCSS
$custom: #5757cf; $custom-light: #9186de; $custom-dark: #000000;
JSON
{
"hex": "#5757cf",
"rgb": {
"r": 87,
"g": 87,
"b": 207
},
"hsl": {
"h": 240,
"s": 55.556,
"l": 57.647
},
"oklch": {
"l": 0.52507,
"c": 0.18074,
"h": 278.2
},
"luminance": 0.13348
}Semantic roles & 50–950 ramp
primary
#5757CF
secondary
#D9D9A9
accent
#DF49DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83