#5751CE#5751CE
#5751CE is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.187 H 279.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5751CE |
|---|---|
| RGB | rgb(87, 81, 206) |
| HSL | hsl(243, 56%, 56%) |
| HSV | hsv(243, 61%, 81%) |
| CMYK | cmyk(57.8%, 60.7%, 0%, 19.2%) |
| CIE-LAB | lab(41.79, 38.08, -64.16) |
| CIE-LCH | lch(41.79, 74.61, 300.69°) |
| OKLab | oklab(51.39% 0.0314 -0.1844) |
| OKLCH | oklch(51.39% 0.187 279.7) |
| XYZ | xyz(18.0100, 12.3661, 59.8184) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.96
Warm Blue
#4B57DB
ΔE00 3.12
Slate Blue
#6A5ACD
ΔE00 3.92
Light Indigo
#6D5ACF
ΔE00 4.34
Dark Periwinkle
#665FD1
ΔE00 4.67
Bluey Purple
#6241C7
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5751CE #C8CE51
analogous
#518ACE #5751CE #9651CE
triadic
#5751CE #CE5751 #51CE57
tetradic
#5751CE #CE518A #C8CE51 #51CE96
square
#5751CE #CE518A #C8CE51 #51CE96
split-complementary
#5751CE #CE9651 #8ACE51
monochromatic
#292480 #3832B0 #5751CE #8581DB #B3B1E9
Accessibility & contrast
On white
6.05
#5751CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5751CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5751CE
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5751CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5751CE | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#0A6F88
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5751ce; /* rgb */ color: rgb(87, 81, 206); /* oklch */ color: oklch(51.4% 0.187 279.7);
Tailwind
colors: {
custom: {
50: '#9182de',
500: '#5751ce',
950: '#000000',
},
}SCSS
$custom: #5751ce; $custom-light: #9182de; $custom-dark: #000000;
JSON
{
"hex": "#5751ce",
"rgb": {
"r": 87,
"g": 81,
"b": 206
},
"hsl": {
"h": 242.88,
"s": 56.054,
"l": 56.275
},
"oklch": {
"l": 0.51386,
"c": 0.18702,
"h": 279.7
},
"luminance": 0.12367
}Semantic roles & 50–950 ramp
primary
#5751CE
secondary
#D5D7A4
accent
#DF48D8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83