#5751BF#5751BF
#5751BF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.2% C 0.167 H 281.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5751BF |
|---|---|
| RGB | rgb(87, 81, 191) |
| HSL | hsl(243, 46%, 53%) |
| HSV | hsv(243, 58%, 75%) |
| CMYK | cmyk(54.5%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(40.69, 33.29, -57.25) |
| CIE-LCH | lch(40.69, 66.23, 300.18°) |
| OKLab | oklab(50.22% 0.0318 -0.164) |
| OKLCH | oklch(50.22% 0.167 281) |
| XYZ | xyz(16.2740, 11.6717, 50.6754) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.72
Slate Blue
#6A5ACD
ΔE00 4.47
Ocean Blue
#4F42B5
ΔE00 4.57
Warm Blue
#4B57DB
ΔE00 4.62
Light Indigo
#6D5ACF
ΔE00 4.98
Bluey Purple
#6241C7
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5751BF #B9BF51
analogous
#5182BF #5751BF #8E51BF
triadic
#5751BF #BF5751 #51BF57
tetradic
#5751BF #BF5182 #B9BF51 #51BF8E
square
#5751BF #BF5182 #B9BF51 #51BF8E
split-complementary
#5751BF #BF8E51 #82BF51
monochromatic
#2C286D #3E399A #5751BF #827ECF #ADAAE0
Accessibility & contrast
On white
6.30
#5751BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#5751BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5751BF
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5751BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5751BF | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#276B80
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5751bf; /* rgb */ color: rgb(87, 81, 191); /* oklch */ color: oklch(50.2% 0.167 281.0);
Tailwind
colors: {
custom: {
50: '#8f82d3',
500: '#5751bf',
950: '#000000',
},
}SCSS
$custom: #5751bf; $custom-light: #8f82d3; $custom-dark: #000000;
JSON
{
"hex": "#5751bf",
"rgb": {
"r": 87,
"g": 81,
"b": 191
},
"hsl": {
"h": 243.273,
"s": 46.218,
"l": 53.333
},
"oklch": {
"l": 0.50225,
"c": 0.1671,
"h": 281
},
"luminance": 0.11673
}Semantic roles & 50–950 ramp
primary
#5751BF
secondary
#CBCE9E
accent
#D652CF
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83