#5661EB#5661EB
#5661EB is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.4% C 0.205 H 274.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5661EB |
|---|---|
| RGB | rgb(86, 97, 235) |
| HSL | hsl(236, 79%, 63%) |
| HSV | hsv(236, 63%, 92%) |
| CMYK | cmyk(63.4%, 58.7%, 0%, 7.8%) |
| CIE-LAB | lab(47.65, 37.67, -71.14) |
| CIE-LCH | lch(47.65, 80.49, 297.90°) |
| OKLab | oklab(56.37% 0.0153 -0.2048) |
| OKLCH | oklch(56.37% 0.205 274.3) |
| XYZ | xyz(23.1029, 16.5240, 80.5531) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.11
Dark Periwinkle
#665FD1
ΔE00 4.23
Royal Blue
#4169E1
ΔE00 4.69
Azul
#1D5DEC
ΔE00 5.09
Bright Blue
#0165FC
ΔE00 5.67
Slate Blue
#6A5ACD
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5661EB #EBE056
analogous
#56ACEB #5661EB #9556EB
triadic
#5661EB #EB5661 #61EB56
tetradic
#5661EB #EB56AC #EBE056 #56EB95
square
#5661EB #EB56AC #EBE056 #56EB95
split-complementary
#5661EB #EB9556 #ACEB56
monochromatic
#1521B2 #1F2EE5 #5661EB #8D94F1 #C3C7F8
Accessibility & contrast
On white
4.88
#5661EB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#5661EB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5661EB
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5661EB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5661EB | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5661eb; /* rgb */ color: rgb(86, 97, 235); /* oklch */ color: oklch(56.4% 0.205 274.3);
Tailwind
colors: {
custom: {
50: '#958ef2',
500: '#5661eb',
950: '#000000',
},
}SCSS
$custom: #5661eb; $custom-light: #958ef2; $custom-dark: #000000;
JSON
{
"hex": "#5661eb",
"rgb": {
"r": 86,
"g": 97,
"b": 235
},
"hsl": {
"h": 235.57,
"s": 78.836,
"l": 62.941
},
"oklch": {
"l": 0.56374,
"c": 0.20534,
"h": 274.3
},
"luminance": 0.16526
}Semantic roles & 50–950 ramp
primary
#5661EB
secondary
#E9E5B4
accent
#CC0ADB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85