#5C62E8#5C62E8
#5C62E8 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.7% C 0.199 H 276.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5C62E8 |
|---|---|
| RGB | rgb(92, 98, 232) |
| HSL | hsl(237, 75%, 64%) |
| HSV | hsv(237, 60%, 91%) |
| CMYK | cmyk(60.3%, 57.8%, 0%, 9%) |
| CIE-LAB | lab(48.05, 37.03, -68.79) |
| CIE-LCH | lch(48.05, 78.12, 298.30°) |
| OKLab | oklab(56.7% 0.0211 -0.1977) |
| OKLCH | oklch(56.7% 0.199 276.1) |
| XYZ | xyz(23.3421, 16.8351, 78.3477) |
| Luminance | 0.1684 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.67
Warm Blue
#4B57DB
ΔE00 4.46
Royal Blue
#4169E1
ΔE00 5.07
Slate Blue
#6A5ACD
ΔE00 5.24
Light Indigo
#6D5ACF
ΔE00 5.32
Mediumslateblue
#7B68EE
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C62E8 #E8E25C
analogous
#5CA8E8 #5C62E8 #9C5CE8
triadic
#5C62E8 #E85C62 #62E85C
tetradic
#5C62E8 #E85CA8 #E8E25C #5CE89C
square
#5C62E8 #E85CA8 #E8E25C #5CE89C
split-complementary
#5C62E8 #E89C5C #A8E85C
monochromatic
#191FB1 #262EE0 #5C62E8 #9296F0 #C7C9F7
Accessibility & contrast
On white
4.81
#5C62E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#5C62E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C62E8
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C62E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C62E8 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5c62e8; /* rgb */ color: rgb(92, 98, 232); /* oklch */ color: oklch(56.7% 0.199 276.1);
Tailwind
colors: {
custom: {
50: '#978ef0',
500: '#5c62e8',
950: '#000000',
},
}SCSS
$custom: #5c62e8; $custom-light: #978ef0; $custom-dark: #000000;
JSON
{
"hex": "#5c62e8",
"rgb": {
"r": 92,
"g": 98,
"b": 232
},
"hsl": {
"h": 237.429,
"s": 75.269,
"l": 63.529
},
"oklch": {
"l": 0.56698,
"c": 0.19882,
"h": 276.1
},
"luminance": 0.16837
}Semantic roles & 50–950 ramp
primary
#5C62E8
secondary
#E9E7B7
accent
#CF0ED7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85