#5661EA#5661EA
#5661EA is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.3% C 0.204 H 274.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5661EA |
|---|---|
| RGB | rgb(86, 97, 234) |
| HSL | hsl(236, 78%, 63%) |
| HSV | hsv(236, 63%, 92%) |
| CMYK | cmyk(63.2%, 58.5%, 0%, 8.2%) |
| CIE-LAB | lab(47.58, 37.34, -70.69) |
| CIE-LCH | lch(47.58, 79.95, 297.84°) |
| OKLab | oklab(56.3% 0.0153 -0.2035) |
| OKLCH | oklch(56.3% 0.204 274.3) |
| XYZ | xyz(22.9588, 16.4664, 79.7944) |
| Luminance | 0.1647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.02
Dark Periwinkle
#665FD1
ΔE00 4.14
Royal Blue
#4169E1
ΔE00 4.65
Azul
#1D5DEC
ΔE00 5.05
Slate Blue
#6A5ACD
ΔE00 5.66
Bright Blue
#0165FC
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5661EA #EADF56
analogous
#56ABEA #5661EA #9556EA
triadic
#5661EA #EA5661 #61EA56
tetradic
#5661EA #EA56AB #EADF56 #56EA95
square
#5661EA #EA56AB #EADF56 #56EA95
split-complementary
#5661EA #EA9556 #ABEA56
monochromatic
#1621B0 #202EE3 #5661EA #8C94F1 #C3C7F8
Accessibility & contrast
On white
4.89
#5661EA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#5661EA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5661EA
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5661EA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5661EA | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5661ea; /* rgb */ color: rgb(86, 97, 234); /* oklch */ color: oklch(56.3% 0.204 274.3);
Tailwind
colors: {
custom: {
50: '#948ef2',
500: '#5661ea',
950: '#000000',
},
}SCSS
$custom: #5661ea; $custom-light: #948ef2; $custom-dark: #000000;
JSON
{
"hex": "#5661ea",
"rgb": {
"r": 86,
"g": 97,
"b": 234
},
"hsl": {
"h": 235.541,
"s": 77.895,
"l": 62.745
},
"oklch": {
"l": 0.56296,
"c": 0.20405,
"h": 274.3
},
"luminance": 0.16468
}Semantic roles & 50–950 ramp
primary
#5661EA
secondary
#E9E5B3
accent
#CB0BDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85