#5652BF#5652BF
#5652BF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.3% C 0.166 H 280.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5652BF |
|---|---|
| RGB | rgb(86, 82, 191) |
| HSL | hsl(242, 46%, 54%) |
| HSV | hsv(242, 57%, 75%) |
| CMYK | cmyk(55%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(40.85, 32.48, -56.99) |
| CIE-LCH | lch(40.85, 65.60, 299.68°) |
| OKLab | oklab(50.33% 0.0295 -0.1633) |
| OKLCH | oklch(50.33% 0.166 280.3) |
| XYZ | xyz(16.2561, 11.7736, 50.6960) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.65
Warm Blue
#4B57DB
ΔE00 4.41
Slate Blue
#6A5ACD
ΔE00 4.46
Ocean Blue
#4F42B5
ΔE00 4.85
Light Indigo
#6D5ACF
ΔE00 5.00
Dark Periwinkle
#665FD1
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5652BF #BBBF52
analogous
#5284BF #5652BF #8C52BF
triadic
#5652BF #BF5652 #52BF56
tetradic
#5652BF #BF5284 #BBBF52 #52BF8C
square
#5652BF #BF5284 #BBBF52 #52BF8C
split-complementary
#5652BF #BF8C52 #84BF52
monochromatic
#2B296E #3D399B #5652BF #827FD0 #ADABE0
Accessibility & contrast
On white
6.26
#5652BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#5652BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5652BF
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5652BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5652BF | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#236B80
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5652bf; /* rgb */ color: rgb(86, 82, 191); /* oklch */ color: oklch(50.3% 0.166 280.3);
Tailwind
colors: {
custom: {
50: '#8e83d3',
500: '#5652bf',
950: '#000000',
},
}SCSS
$custom: #5652bf; $custom-light: #8e83d3; $custom-dark: #000000;
JSON
{
"hex": "#5652bf",
"rgb": {
"r": 86,
"g": 82,
"b": 191
},
"hsl": {
"h": 242.202,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.50328,
"c": 0.16593,
"h": 280.3
},
"luminance": 0.11775
}Semantic roles & 50–950 ramp
primary
#5652BF
secondary
#CCCE9F
accent
#D652D1
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83