#5C62E4#5C62E4
#5C62E4 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.4% C 0.194 H 276.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5C62E4 |
|---|---|
| RGB | rgb(92, 98, 228) |
| HSL | hsl(237, 72%, 63%) |
| HSV | hsv(237, 60%, 89%) |
| CMYK | cmyk(59.6%, 57%, 0%, 10.6%) |
| CIE-LAB | lab(47.77, 35.73, -66.99) |
| CIE-LCH | lch(47.77, 75.93, 298.07°) |
| OKLab | oklab(56.4% 0.0211 -0.1924) |
| OKLCH | oklch(56.4% 0.194 276.2) |
| XYZ | xyz(22.7804, 16.6104, 75.3894) |
| Luminance | 0.1661 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.27
Warm Blue
#4B57DB
ΔE00 4.21
Slate Blue
#6A5ACD
ΔE00 4.92
Royal Blue
#4169E1
ΔE00 4.96
Light Indigo
#6D5ACF
ΔE00 5.04
Mediumslateblue
#7B68EE
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C62E4 #E4DE5C
analogous
#5CA6E4 #5C62E4 #9A5CE4
triadic
#5C62E4 #E45C62 #62E45C
tetradic
#5C62E4 #E45CA6 #E4DE5C #5CE49A
square
#5C62E4 #E45CA6 #E4DE5C #5CE49A
split-complementary
#5C62E4 #E49A5C #A6E45C
monochromatic
#1C22AA #272FDB #5C62E4 #9195ED #C5C7F5
Accessibility & contrast
On white
4.86
#5C62E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#5C62E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C62E4
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C62E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C62E4 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#008199
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5c62e4; /* rgb */ color: rgb(92, 98, 228); /* oklch */ color: oklch(56.4% 0.194 276.2);
Tailwind
colors: {
custom: {
50: '#968eed',
500: '#5c62e4',
950: '#000000',
},
}SCSS
$custom: #5c62e4; $custom-light: #968eed; $custom-dark: #000000;
JSON
{
"hex": "#5c62e4",
"rgb": {
"r": 92,
"g": 98,
"b": 228
},
"hsl": {
"h": 237.353,
"s": 71.579,
"l": 62.745
},
"oklch": {
"l": 0.56396,
"c": 0.19358,
"h": 276.2
},
"luminance": 0.16612
}Semantic roles & 50–950 ramp
primary
#5C62E4
secondary
#E7E4B5
accent
#CB12D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84