#5B62CA#5B62CA
#5B62CA is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.5% C 0.159 H 276.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5B62CA |
|---|---|
| RGB | rgb(91, 98, 202) |
| HSL | hsl(236, 51%, 57%) |
| HSV | hsv(236, 55%, 79%) |
| CMYK | cmyk(55%, 51.5%, 0%, 20.8%) |
| CIE-LAB | lab(45.94, 27.11, -55.14) |
| CIE-LCH | lch(45.94, 61.44, 296.18°) |
| OKLab | oklab(54.45% 0.0189 -0.1576) |
| OKLCH | oklch(54.45% 0.159 276.9) |
| XYZ | xyz(19.3393, 15.2225, 57.7848) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.68
Iris
#6258C4
ΔE00 3.92
Slate Blue
#6A5ACD
ΔE00 4.23
Warm Blue
#4B57DB
ΔE00 4.33
Light Indigo
#6D5ACF
ΔE00 4.69
Royal Blue
#4169E1
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B62CA #CAC35B
analogous
#5B9ACA #5B62CA #8B5BCA
triadic
#5B62CA #CA5B62 #62CA5B
tetradic
#5B62CA #CA5B9A #CAC35B #5BCA8B
square
#5B62CA #CA5B9A #CAC35B #5BCA8B
split-complementary
#5B62CA #CA8B5B #9ACA5B
monochromatic
#2A2F81 #3940AF #5B62CA #898ED9 #B8BBE8
Accessibility & contrast
On white
5.19
#5B62CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#5B62CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B62CA
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B62CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B62CA | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A71CE
Deuteranopia (green-blind)
#1868C8
Tritanopia (blue-blind)
#22798D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5b62ca; /* rgb */ color: rgb(91, 98, 202); /* oklch */ color: oklch(54.5% 0.159 276.9);
Tailwind
colors: {
custom: {
50: '#928edb',
500: '#5b62ca',
950: '#000000',
},
}SCSS
$custom: #5b62ca; $custom-light: #928edb; $custom-dark: #000000;
JSON
{
"hex": "#5b62ca",
"rgb": {
"r": 91,
"g": 98,
"b": 202
},
"hsl": {
"h": 236.216,
"s": 51.152,
"l": 57.451
},
"oklch": {
"l": 0.54453,
"c": 0.1587,
"h": 276.9
},
"luminance": 0.15224
}Semantic roles & 50–950 ramp
primary
#5B62CA
secondary
#D7D4AA
accent
#D24DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83