#5661E7#5661E7
#5661E7 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.1% C 0.200 H 274.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5661E7 |
|---|---|
| RGB | rgb(86, 97, 231) |
| HSL | hsl(235, 75%, 62%) |
| HSV | hsv(235, 63%, 91%) |
| CMYK | cmyk(62.8%, 58%, 0%, 9.4%) |
| CIE-LAB | lab(47.36, 36.34, -69.36) |
| CIE-LCH | lch(47.36, 78.31, 297.65°) |
| OKLab | oklab(56.06% 0.0153 -0.1996) |
| OKLCH | oklch(56.06% 0.2 274.4) |
| XYZ | xyz(22.5315, 16.2955, 77.5438) |
| Luminance | 0.1630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.79
Dark Periwinkle
#665FD1
ΔE00 3.89
Royal Blue
#4169E1
ΔE00 4.53
Azul
#1D5DEC
ΔE00 4.97
Slate Blue
#6A5ACD
ΔE00 5.44
Light Indigo
#6D5ACF
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5661E7 #E7DC56
analogous
#56AAE7 #5661E7 #9356E7
triadic
#5661E7 #E75661 #61E756
tetradic
#5661E7 #E756AA #E7DC56 #56E793
square
#5661E7 #E756AA #E7DC56 #56E793
split-complementary
#5661E7 #E79356 #AAE756
monochromatic
#1823AA #202FDF #5661E7 #8C93EF #C1C5F6
Accessibility & contrast
On white
4.93
#5661E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#5661E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5661E7
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5661E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5661E7 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5661e7; /* rgb */ color: rgb(86, 97, 231); /* oklch */ color: oklch(56.1% 0.200 274.4);
Tailwind
colors: {
custom: {
50: '#948ef0',
500: '#5661e7',
950: '#000000',
},
}SCSS
$custom: #5661e7; $custom-light: #948ef0; $custom-dark: #000000;
JSON
{
"hex": "#5661e7",
"rgb": {
"r": 86,
"g": 97,
"b": 231
},
"hsl": {
"h": 235.448,
"s": 75.13,
"l": 62.157
},
"oklch": {
"l": 0.56063,
"c": 0.20015,
"h": 274.4
},
"luminance": 0.16297
}Semantic roles & 50–950 ramp
primary
#5661E7
secondary
#E7E3B2
accent
#C80ED7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85