#5751BC#5751BC
#5751BC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.163 H 281.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5751BC |
|---|---|
| RGB | rgb(87, 81, 188) |
| HSL | hsl(243, 44%, 53%) |
| HSV | hsv(243, 57%, 74%) |
| CMYK | cmyk(53.7%, 56.9%, 0%, 26.3%) |
| CIE-LAB | lab(40.48, 32.34, -55.84) |
| CIE-LCH | lch(40.48, 64.53, 300.07°) |
| OKLab | oklab(50% 0.0318 -0.1599) |
| OKLCH | oklch(50% 0.163 281.3) |
| XYZ | xyz(15.9472, 11.5410, 48.9545) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.86
Ocean Blue
#4F42B5
ΔE00 4.47
Slate Blue
#6A5ACD
ΔE00 4.68
Warm Blue
#4B57DB
ΔE00 4.99
Light Indigo
#6D5ACF
ΔE00 5.20
Bluey Purple
#6241C7
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5751BC #B6BC51
analogous
#5181BC #5751BC #8C51BC
triadic
#5751BC #BC5751 #51BC57
tetradic
#5751BC #BC5181 #B6BC51 #51BC8C
square
#5751BC #BC5181 #B6BC51 #51BC8C
split-complementary
#5751BC #BC8C51 #81BC51
monochromatic
#2C296A #3F3A96 #5751BC #827DCD #ACA9DE
Accessibility & contrast
On white
6.35
#5751BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#5751BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5751BC
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5751BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5751BC | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#2A6A7E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5751bc; /* rgb */ color: rgb(87, 81, 188); /* oklch */ color: oklch(50.0% 0.163 281.3);
Tailwind
colors: {
custom: {
50: '#8f82d1',
500: '#5751bc',
950: '#000000',
},
}SCSS
$custom: #5751bc; $custom-light: #8f82d1; $custom-dark: #000000;
JSON
{
"hex": "#5751bc",
"rgb": {
"r": 87,
"g": 81,
"b": 188
},
"hsl": {
"h": 243.364,
"s": 44.398,
"l": 52.745
},
"oklch": {
"l": 0.50001,
"c": 0.16302,
"h": 281.3
},
"luminance": 0.11542
}Semantic roles & 50–950 ramp
primary
#5751BC
secondary
#C9CC9D
accent
#D454CD
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82