#5751BB#5751BB
#5751BB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.9% C 0.162 H 281.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5751BB |
|---|---|
| RGB | rgb(87, 81, 187) |
| HSL | hsl(243, 44%, 53%) |
| HSV | hsv(243, 57%, 73%) |
| CMYK | cmyk(53.5%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(40.41, 32.02, -55.37) |
| CIE-LCH | lch(40.41, 63.96, 300.04°) |
| OKLab | oklab(49.93% 0.0318 -0.1585) |
| OKLCH | oklch(49.93% 0.162 281.3) |
| XYZ | xyz(15.8398, 11.4980, 48.3888) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.92
Ocean Blue
#4F42B5
ΔE00 4.45
Slate Blue
#6A5ACD
ΔE00 4.76
Warm Blue
#4B57DB
ΔE00 5.12
Light Indigo
#6D5ACF
ΔE00 5.28
Bluey Purple
#6241C7
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5751BB #B5BB51
analogous
#5180BB #5751BB #8C51BB
triadic
#5751BB #BB5751 #51BB57
tetradic
#5751BB #BB5180 #B5BB51 #51BB8C
square
#5751BB #BB5180 #B5BB51 #51BB8C
split-complementary
#5751BB #BB8C51 #80BB51
monochromatic
#2D2969 #3F3A95 #5751BB #817DCC #ACA9DD
Accessibility & contrast
On white
6.36
#5751BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#5751BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5751BB
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5751BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5751BB | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#2B697E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5751bb; /* rgb */ color: rgb(87, 81, 187); /* oklch */ color: oklch(49.9% 0.162 281.3);
Tailwind
colors: {
custom: {
50: '#8e82d0',
500: '#5751bb',
950: '#000000',
},
}SCSS
$custom: #5751bb; $custom-light: #8e82d0; $custom-dark: #000000;
JSON
{
"hex": "#5751bb",
"rgb": {
"r": 87,
"g": 81,
"b": 187
},
"hsl": {
"h": 243.396,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.49926,
"c": 0.16166,
"h": 281.3
},
"luminance": 0.11499
}Semantic roles & 50–950 ramp
primary
#5751BB
secondary
#C8CB9D
accent
#D454CC
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82