#5A62DC#5A62DC
#5A62DC is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.7% C 0.183 H 275.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5A62DC |
|---|---|
| RGB | rgb(90, 98, 220) |
| HSL | hsl(236, 65%, 61%) |
| HSV | hsv(236, 59%, 86%) |
| CMYK | cmyk(59.1%, 55.5%, 0%, 13.7%) |
| CIE-LAB | lab(47.07, 32.78, -63.59) |
| CIE-LCH | lch(47.07, 71.54, 297.27°) |
| OKLab | oklab(55.67% 0.0187 -0.1825) |
| OKLCH | oklch(55.67% 0.183 275.9) |
| XYZ | xyz(21.4982, 16.0747, 69.6661) |
| Luminance | 0.1608 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.82
Warm Blue
#4B57DB
ΔE00 3.75
Slate Blue
#6A5ACD
ΔE00 4.60
Royal Blue
#4169E1
ΔE00 4.62
Light Indigo
#6D5ACF
ΔE00 4.85
Iris
#6258C4
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A62DC #DCD45A
analogous
#5AA3DC #5A62DC #935ADC
triadic
#5A62DC #DC5A62 #62DC5A
tetradic
#5A62DC #DC5AA3 #DCD45A #5ADC93
square
#5A62DC #DC5AA3 #DCD45A #5ADC93
split-complementary
#5A62DC #DC935A #A3DC5A
monochromatic
#21289B #2C35CD #5A62DC #8C92E7 #BFC2F1
Accessibility & contrast
On white
4.98
#5A62DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#5A62DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A62DC
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A62DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A62DC | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5a62dc; /* rgb */ color: rgb(90, 98, 220); /* oklch */ color: oklch(55.7% 0.183 275.9);
Tailwind
colors: {
custom: {
50: '#948ee8',
500: '#5a62dc',
950: '#000000',
},
}SCSS
$custom: #5a62dc; $custom-light: #948ee8; $custom-dark: #000000;
JSON
{
"hex": "#5a62dc",
"rgb": {
"r": 90,
"g": 98,
"b": 220
},
"hsl": {
"h": 236.308,
"s": 65,
"l": 60.784
},
"oklch": {
"l": 0.55668,
"c": 0.18344,
"h": 275.9
},
"luminance": 0.16076
}Semantic roles & 50–950 ramp
primary
#5A62DC
secondary
#E2DEB0
accent
#C219CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84