#5B62CF#5B62CF
#5B62CF is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.8% C 0.166 H 276.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5B62CF |
|---|---|
| RGB | rgb(91, 98, 207) |
| HSL | hsl(236, 55%, 58%) |
| HSV | hsv(236, 56%, 81%) |
| CMYK | cmyk(56%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(46.26, 28.73, -57.48) |
| CIE-LCH | lch(46.26, 64.26, 296.56°) |
| OKLab | oklab(54.8% 0.0193 -0.1645) |
| OKLCH | oklch(54.8% 0.166 276.7) |
| XYZ | xyz(19.9409, 15.4631, 60.9533) |
| Luminance | 0.1547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.44
Warm Blue
#4B57DB
ΔE00 4.02
Iris
#6258C4
ΔE00 4.09
Slate Blue
#6A5ACD
ΔE00 4.15
Light Indigo
#6D5ACF
ΔE00 4.56
Royal Blue
#4169E1
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B62CF #CFC85B
analogous
#5B9CCF #5B62CF #8E5BCF
triadic
#5B62CF #CF5B62 #62CF5B
tetradic
#5B62CF #CF5B9C #CFC85B #5BCF8E
square
#5B62CF #CF5B9C #CFC85B #5BCF8E
split-complementary
#5B62CF #CF8E5B #9CCF5B
monochromatic
#282E88 #363DB7 #5B62CF #8A8FDD #BABDEB
Accessibility & contrast
On white
5.13
#5B62CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#5B62CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B62CF
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B62CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B62CF | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2373D3
Deuteranopia (green-blind)
#0469CD
Tritanopia (blue-blind)
#1A7B8F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5b62cf; /* rgb */ color: rgb(91, 98, 207); /* oklch */ color: oklch(54.8% 0.166 276.7);
Tailwind
colors: {
custom: {
50: '#938ede',
500: '#5b62cf',
950: '#000000',
},
}SCSS
$custom: #5b62cf; $custom-light: #938ede; $custom-dark: #000000;
JSON
{
"hex": "#5b62cf",
"rgb": {
"r": 91,
"g": 98,
"b": 207
},
"hsl": {
"h": 236.379,
"s": 54.717,
"l": 58.431
},
"oklch": {
"l": 0.54801,
"c": 0.16561,
"h": 276.7
},
"luminance": 0.15465
}Semantic roles & 50–950 ramp
primary
#5B62CF
secondary
#DAD7AC
accent
#D54ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83