#5751CB#5751CB
#5751CB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.183 H 279.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5751CB |
|---|---|
| RGB | rgb(87, 81, 203) |
| HSL | hsl(243, 54%, 56%) |
| HSV | hsv(243, 60%, 80%) |
| CMYK | cmyk(57.1%, 60.1%, 0%, 20.4%) |
| CIE-LAB | lab(41.57, 37.12, -62.80) |
| CIE-LCH | lch(41.57, 72.95, 300.59°) |
| OKLab | oklab(51.15% 0.0316 -0.1803) |
| OKLCH | oklch(51.15% 0.183 279.9) |
| XYZ | xyz(17.6490, 12.2217, 57.9173) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.80
Warm Blue
#4B57DB
ΔE00 3.36
Slate Blue
#6A5ACD
ΔE00 3.96
Light Indigo
#6D5ACF
ΔE00 4.40
Dark Periwinkle
#665FD1
ΔE00 4.75
Bluey Purple
#6241C7
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5751CB #C5CB51
analogous
#5188CB #5751CB #9451CB
triadic
#5751CB #CB5751 #51CB57
tetradic
#5751CB #CB5188 #C5CB51 #51CB94
square
#5751CB #CB5188 #C5CB51 #51CB94
split-complementary
#5751CB #CB9451 #88CB51
monochromatic
#29257C #3933AC #5751CB #8480D9 #B2AFE7
Accessibility & contrast
On white
6.10
#5751CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#5751CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5751CB
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5751CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5751CB | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#136E86
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5751cb; /* rgb */ color: rgb(87, 81, 203); /* oklch */ color: oklch(51.1% 0.183 279.9);
Tailwind
colors: {
custom: {
50: '#9182dc',
500: '#5751cb',
950: '#000000',
},
}SCSS
$custom: #5751cb; $custom-light: #9182dc; $custom-dark: #000000;
JSON
{
"hex": "#5751cb",
"rgb": {
"r": 87,
"g": 81,
"b": 203
},
"hsl": {
"h": 242.951,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.51149,
"c": 0.18308,
"h": 279.9
},
"luminance": 0.12223
}Semantic roles & 50–950 ramp
primary
#5751CB
secondary
#D3D5A3
accent
#DD4AD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83