#5652BB#5652BB
#5652BB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.0% C 0.160 H 280.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5652BB |
|---|---|
| RGB | rgb(86, 82, 187) |
| HSL | hsl(242, 44%, 53%) |
| HSV | hsv(242, 56%, 73%) |
| CMYK | cmyk(54%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(40.57, 31.20, -55.11) |
| CIE-LCH | lch(40.57, 63.33, 299.52°) |
| OKLab | oklab(50.03% 0.0295 -0.1577) |
| OKLCH | oklch(50.03% 0.16 280.6) |
| XYZ | xyz(15.8219, 11.5999, 48.4094) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.86
Ocean Blue
#4F42B5
ΔE00 4.75
Slate Blue
#6A5ACD
ΔE00 4.75
Warm Blue
#4B57DB
ΔE00 4.93
Light Indigo
#6D5ACF
ΔE00 5.30
Dark Periwinkle
#665FD1
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5652BB #B7BB52
analogous
#5282BB #5652BB #8B52BB
triadic
#5652BB #BB5652 #52BB56
tetradic
#5652BB #BB5282 #B7BB52 #52BB8B
square
#5652BB #BB5282 #B7BB52 #52BB8B
split-complementary
#5652BB #BB8B52 #82BB52
monochromatic
#2C2969 #3E3B95 #5652BB #817ECC #ACAADE
Accessibility & contrast
On white
6.32
#5652BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#5652BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5652BB
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5652BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5652BB | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0464BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#286A7E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5652bb; /* rgb */ color: rgb(86, 82, 187); /* oklch */ color: oklch(50.0% 0.160 280.6);
Tailwind
colors: {
custom: {
50: '#8e82d0',
500: '#5652bb',
950: '#000000',
},
}SCSS
$custom: #5652bb; $custom-light: #8e82d0; $custom-dark: #000000;
JSON
{
"hex": "#5652bb",
"rgb": {
"r": 86,
"g": 82,
"b": 187
},
"hsl": {
"h": 242.286,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.5003,
"c": 0.16048,
"h": 280.6
},
"luminance": 0.11601
}Semantic roles & 50–950 ramp
primary
#5652BB
secondary
#C9CB9E
accent
#D354CE
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0A14
muted
#7E7C82