#5C61E6#5C61E6
#5C61E6 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.4% C 0.197 H 276.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5C61E6 |
|---|---|
| RGB | rgb(92, 97, 230) |
| HSL | hsl(238, 73%, 63%) |
| HSV | hsv(238, 60%, 90%) |
| CMYK | cmyk(60%, 57.8%, 0%, 9.8%) |
| CIE-LAB | lab(47.67, 36.99, -68.28) |
| CIE-LCH | lch(47.67, 77.65, 298.44°) |
| OKLab | oklab(56.37% 0.022 -0.1962) |
| OKLCH | oklch(56.37% 0.197 276.4) |
| XYZ | xyz(22.9666, 16.5361, 76.8291) |
| Luminance | 0.1654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.35
Warm Blue
#4B57DB
ΔE00 4.10
Slate Blue
#6A5ACD
ΔE00 4.88
Light Indigo
#6D5ACF
ΔE00 4.98
Royal Blue
#4169E1
ΔE00 5.22
Mediumslateblue
#7B68EE
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C61E6 #E6E15C
analogous
#5CA6E6 #5C61E6 #9C5CE6
triadic
#5C61E6 #E65C61 #61E65C
tetradic
#5C61E6 #E65CA6 #E6E15C #5CE69C
square
#5C61E6 #E65CA6 #E6E15C #5CE69C
split-complementary
#5C61E6 #E69C5C #A6E65C
monochromatic
#1B20AD #272EDE #5C61E6 #9194EE #C6C8F6
Accessibility & contrast
On white
4.88
#5C61E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#5C61E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C61E6
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C61E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C61E6 | 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)
#0077EA
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5c61e6; /* rgb */ color: rgb(92, 97, 230); /* oklch */ color: oklch(56.4% 0.197 276.4);
Tailwind
colors: {
custom: {
50: '#978eef',
500: '#5c61e6',
950: '#000000',
},
}SCSS
$custom: #5c61e6; $custom-light: #978eef; $custom-dark: #000000;
JSON
{
"hex": "#5c61e6",
"rgb": {
"r": 92,
"g": 97,
"b": 230
},
"hsl": {
"h": 237.826,
"s": 73.404,
"l": 63.137
},
"oklch": {
"l": 0.5637,
"c": 0.19744,
"h": 276.4
},
"luminance": 0.16538
}Semantic roles & 50–950 ramp
primary
#5C61E6
secondary
#E8E6B6
accent
#CE10D6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85