#5A62CD#5A62CD
#5A62CD is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.163 H 276.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5A62CD |
|---|---|
| RGB | rgb(90, 98, 205) |
| HSL | hsl(236, 53%, 58%) |
| HSV | hsv(236, 56%, 80%) |
| CMYK | cmyk(56.1%, 52.2%, 0%, 19.6%) |
| CIE-LAB | lab(46.06, 27.89, -56.66) |
| CIE-LCH | lch(46.06, 63.15, 296.20°) |
| OKLab | oklab(54.59% 0.018 -0.1621) |
| OKLCH | oklch(54.59% 0.163 276.3) |
| XYZ | xyz(19.6000, 15.3154, 59.6691) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.67
Warm Blue
#4B57DB
ΔE00 4.07
Iris
#6258C4
ΔE00 4.10
Slate Blue
#6A5ACD
ΔE00 4.31
Light Indigo
#6D5ACF
ΔE00 4.75
Royal Blue
#4169E1
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A62CD #CDC55A
analogous
#5A9BCD #5A62CD #8B5ACD
triadic
#5A62CD #CD5A62 #62CD5A
tetradic
#5A62CD #CD5A9B #CDC55A #5ACD8B
square
#5A62CD #CD5A9B #CDC55A #5ACD8B
split-complementary
#5A62CD #CD8B5A #9BCD5A
monochromatic
#282F84 #363FB3 #5A62CD #898FDB #B8BBE9
Accessibility & contrast
On white
5.17
#5A62CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#5A62CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A62CD
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A62CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A62CD | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2672D1
Deuteranopia (green-blind)
#0B68CB
Tritanopia (blue-blind)
#197A8E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5a62cd; /* rgb */ color: rgb(90, 98, 205); /* oklch */ color: oklch(54.6% 0.163 276.3);
Tailwind
colors: {
custom: {
50: '#928edd',
500: '#5a62cd',
950: '#000000',
},
}SCSS
$custom: #5a62cd; $custom-light: #928edd; $custom-dark: #000000;
JSON
{
"hex": "#5a62cd",
"rgb": {
"r": 90,
"g": 98,
"b": 205
},
"hsl": {
"h": 235.826,
"s": 53.488,
"l": 57.843
},
"oklch": {
"l": 0.54592,
"c": 0.16308,
"h": 276.3
},
"luminance": 0.15317
}Semantic roles & 50–950 ramp
primary
#5A62CD
secondary
#D8D5AA
accent
#D34BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83