#5658C5#5658C5
#5658C5 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.166 H 278.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5658C5 |
|---|---|
| RGB | rgb(86, 88, 197) |
| HSL | hsl(239, 49%, 55%) |
| HSV | hsv(239, 56%, 77%) |
| CMYK | cmyk(56.3%, 55.3%, 0%, 22.7%) |
| CIE-LAB | lab(42.74, 30.71, -57.42) |
| CIE-LCH | lch(42.74, 65.11, 298.14°) |
| OKLab | oklab(51.87% 0.0234 -0.1645) |
| OKLCH | oklch(51.87% 0.166 278.1) |
| XYZ | xyz(17.4023, 12.9879, 54.4024) |
| Luminance | 0.1299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.20
Warm Blue
#4B57DB
ΔE00 3.19
Dark Periwinkle
#665FD1
ΔE00 3.71
Slate Blue
#6A5ACD
ΔE00 3.75
Light Indigo
#6D5ACF
ΔE00 4.35
Ocean Blue
#4F42B5
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5658C5 #C5C356
analogous
#568FC5 #5658C5 #8B56C5
triadic
#5658C5 #C55658 #58C556
tetradic
#5658C5 #C5568F #C5C356 #56C58B
square
#5658C5 #C5568F #C5C356 #56C58B
split-complementary
#5658C5 #C58B56 #8FC556
monochromatic
#292A78 #393BA5 #5658C5 #8485D5 #B1B2E4
Accessibility & contrast
On white
5.84
#5658C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#5658C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5658C5
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5658C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5658C5 | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#086AC9
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#197186
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5658c5; /* rgb */ color: rgb(86, 88, 197); /* oklch */ color: oklch(51.9% 0.166 278.1);
Tailwind
colors: {
custom: {
50: '#8f87d7',
500: '#5658c5',
950: '#000000',
},
}SCSS
$custom: #5658c5; $custom-light: #8f87d7; $custom-dark: #000000;
JSON
{
"hex": "#5658c5",
"rgb": {
"r": 86,
"g": 88,
"b": 197
},
"hsl": {
"h": 238.919,
"s": 48.899,
"l": 55.49
},
"oklch": {
"l": 0.51867,
"c": 0.16616,
"h": 278.1
},
"luminance": 0.12989
}Semantic roles & 50–950 ramp
primary
#5658C5
secondary
#D3D2A4
accent
#D64FD8
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83