#5752BB#5752BB
#5752BB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.160 H 281.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5752BB |
|---|---|
| RGB | rgb(87, 82, 187) |
| HSL | hsl(243, 44%, 53%) |
| HSV | hsv(243, 56%, 73%) |
| CMYK | cmyk(53.5%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(40.65, 31.40, -54.98) |
| CIE-LCH | lch(40.65, 63.31, 299.73°) |
| OKLab | oklab(50.11% 0.0307 -0.1573) |
| OKLCH | oklch(50.11% 0.16 281.1) |
| XYZ | xyz(15.9146, 11.6477, 48.4137) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.75
Slate Blue
#6A5ACD
ΔE00 4.64
Ocean Blue
#4F42B5
ΔE00 4.75
Warm Blue
#4B57DB
ΔE00 5.00
Light Indigo
#6D5ACF
ΔE00 5.18
Dark Periwinkle
#665FD1
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5752BB #B6BB52
analogous
#5282BB #5752BB #8B52BB
triadic
#5752BB #BB5752 #52BB57
tetradic
#5752BB #BB5282 #B6BB52 #52BB8B
square
#5752BB #BB5282 #B6BB52 #52BB8B
split-complementary
#5752BB #BB8B52 #82BB52
monochromatic
#2C2969 #3F3B95 #5752BB #827ECC #ACAADE
Accessibility & contrast
On white
6.31
#5752BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#5752BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5752BB
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5752BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5752BB | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0564BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#2B6A7E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5752bb; /* rgb */ color: rgb(87, 82, 187); /* oklch */ color: oklch(50.1% 0.160 281.1);
Tailwind
colors: {
custom: {
50: '#8e83d0',
500: '#5752bb',
950: '#000000',
},
}SCSS
$custom: #5752bb; $custom-light: #8e83d0; $custom-dark: #000000;
JSON
{
"hex": "#5752bb",
"rgb": {
"r": 87,
"g": 82,
"b": 187
},
"hsl": {
"h": 242.857,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.50107,
"c": 0.16031,
"h": 281.1
},
"luminance": 0.11649
}Semantic roles & 50–950 ramp
primary
#5752BB
secondary
#C9CB9E
accent
#D354CD
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0A14
muted
#7E7C82