#5661E5#5661E5
#5661E5 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.9% C 0.198 H 274.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5661E5 |
|---|---|
| RGB | rgb(86, 97, 229) |
| HSL | hsl(235, 73%, 62%) |
| HSV | hsv(235, 62%, 90%) |
| CMYK | cmyk(62.4%, 57.6%, 0%, 10.2%) |
| CIE-LAB | lab(47.21, 35.68, -68.47) |
| CIE-LCH | lch(47.21, 77.21, 297.53°) |
| OKLab | oklab(55.91% 0.0153 -0.1969) |
| OKLCH | oklch(55.91% 0.198 274.5) |
| XYZ | xyz(22.2506, 16.1831, 76.0646) |
| Luminance | 0.1618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.66
Dark Periwinkle
#665FD1
ΔE00 3.73
Royal Blue
#4169E1
ΔE00 4.47
Azul
#1D5DEC
ΔE00 4.94
Slate Blue
#6A5ACD
ΔE00 5.31
Light Indigo
#6D5ACF
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5661E5 #E5DA56
analogous
#56A8E5 #5661E5 #9356E5
triadic
#5661E5 #E55661 #61E556
tetradic
#5661E5 #E556A8 #E5DA56 #56E593
square
#5661E5 #E556A8 #E5DA56 #56E593
split-complementary
#5661E5 #E59356 #A8E556
monochromatic
#1A25A7 #2230DC #5661E5 #8B93ED #C0C4F5
Accessibility & contrast
On white
4.96
#5661E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#5661E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5661E5
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5661E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5661E5 | 1.00 | 4.96 | 4.24 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5661e5; /* rgb */ color: rgb(86, 97, 229); /* oklch */ color: oklch(55.9% 0.198 274.5);
Tailwind
colors: {
custom: {
50: '#948eee',
500: '#5661e5',
950: '#000000',
},
}SCSS
$custom: #5661e5; $custom-light: #948eee; $custom-dark: #000000;
JSON
{
"hex": "#5661e5",
"rgb": {
"r": 86,
"g": 97,
"b": 229
},
"hsl": {
"h": 235.385,
"s": 73.333,
"l": 61.765
},
"oklch": {
"l": 0.55909,
"c": 0.19754,
"h": 274.5
},
"luminance": 0.16185
}Semantic roles & 50–950 ramp
primary
#5661E5
secondary
#E6E2B1
accent
#C610D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84