#5C62F2#5C62F2
#5C62F2 is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.5% C 0.212 H 275.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5C62F2 |
|---|---|
| RGB | rgb(92, 98, 242) |
| HSL | hsl(238, 85%, 65%) |
| HSV | hsv(238, 62%, 95%) |
| CMYK | cmyk(62%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(48.78, 40.27, -73.21) |
| CIE-LCH | lch(48.78, 83.55, 298.82°) |
| OKLab | oklab(57.47% 0.0209 -0.2107) |
| OKLCH | oklch(57.47% 0.212 275.7) |
| XYZ | xyz(24.8031, 17.4195, 86.0424) |
| Luminance | 0.1742 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.75
Mediumslateblue
#7B68EE
ΔE00 5.01
Warm Blue
#4B57DB
ΔE00 5.29
Royal Blue
#4169E1
ΔE00 5.55
Light Indigo
#6D5ACF
ΔE00 6.14
Slate Blue
#6A5ACD
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C62F2 #F2EC5C
analogous
#5CADF2 #5C62F2 #A15CF2
triadic
#5C62F2 #F25C62 #62F25C
tetradic
#5C62F2 #F25CAD #F2EC5C #5CF2A1
square
#5C62F2 #F25CAD #F2EC5C #5CF2A1
split-complementary
#5C62F2 #F2A15C #ADF25C
monochromatic
#1017C4 #232BED #5C62F2 #9599F7 #CDCFFB
Accessibility & contrast
On white
4.68
#5C62F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#5C62F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C62F2
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C62F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C62F2 | 1.00 | 4.68 | 4.48 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#006DEF
Tritanopia (blue-blind)
#0085A1
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5c62f2; /* rgb */ color: rgb(92, 98, 242); /* oklch */ color: oklch(57.5% 0.212 275.7);
Tailwind
colors: {
custom: {
50: '#998ff7',
500: '#5c62f2',
950: '#000000',
},
}SCSS
$custom: #5c62f2; $custom-light: #998ff7; $custom-dark: #000000;
JSON
{
"hex": "#5c62f2",
"rgb": {
"r": 92,
"g": 98,
"b": 242
},
"hsl": {
"h": 237.6,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.5747,
"c": 0.21174,
"h": 275.7
},
"luminance": 0.17421
}Semantic roles & 50–950 ramp
primary
#5C62F2
secondary
#EEECBC
accent
#D904E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85