#5751CA#5751CA
#5751CA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.182 H 280.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5751CA |
|---|---|
| RGB | rgb(87, 81, 202) |
| HSL | hsl(243, 53%, 55%) |
| HSV | hsv(243, 60%, 79%) |
| CMYK | cmyk(56.9%, 59.9%, 0%, 20.8%) |
| CIE-LAB | lab(41.49, 36.80, -62.34) |
| CIE-LCH | lch(41.49, 72.39, 300.56°) |
| OKLab | oklab(51.07% 0.0316 -0.179) |
| OKLCH | oklch(51.07% 0.182 280) |
| XYZ | xyz(17.5302, 12.1742, 57.2918) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.76
Warm Blue
#4B57DB
ΔE00 3.45
Slate Blue
#6A5ACD
ΔE00 3.98
Light Indigo
#6D5ACF
ΔE00 4.43
Dark Periwinkle
#665FD1
ΔE00 4.78
Bluey Purple
#6241C7
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5751CA #C4CA51
analogous
#5187CA #5751CA #9351CA
triadic
#5751CA #CA5751 #51CA57
tetradic
#5751CA #CA5187 #C4CA51 #51CA93
square
#5751CA #CA5187 #C4CA51 #51CA93
split-complementary
#5751CA #CA9351 #87CA51
monochromatic
#2A257B #3A34AA #5751CA #8480D8 #B2AFE7
Accessibility & contrast
On white
6.11
#5751CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#5751CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5751CA
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5751CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5751CA | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#156E86
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5751ca; /* rgb */ color: rgb(87, 81, 202); /* oklch */ color: oklch(51.1% 0.182 280.0);
Tailwind
colors: {
custom: {
50: '#9182db',
500: '#5751ca',
950: '#000000',
},
}SCSS
$custom: #5751ca; $custom-light: #9182db; $custom-dark: #000000;
JSON
{
"hex": "#5751ca",
"rgb": {
"r": 87,
"g": 81,
"b": 202
},
"hsl": {
"h": 242.975,
"s": 53.304,
"l": 55.49
},
"oklch": {
"l": 0.51071,
"c": 0.18177,
"h": 280
},
"luminance": 0.12175
}Semantic roles & 50–950 ramp
primary
#5751CA
secondary
#D2D5A2
accent
#DD4BD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83