#5B62DD#5B62DD
#5B62DD is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.8% C 0.185 H 276.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5B62DD |
|---|---|
| RGB | rgb(91, 98, 221) |
| HSL | hsl(237, 66%, 61%) |
| HSV | hsv(237, 59%, 87%) |
| CMYK | cmyk(58.8%, 55.7%, 0%, 13.3%) |
| CIE-LAB | lab(47.21, 33.28, -63.94) |
| CIE-LCH | lch(47.21, 72.08, 297.50°) |
| OKLab | oklab(55.81% 0.0199 -0.1835) |
| OKLCH | oklch(55.81% 0.185 276.2) |
| XYZ | xyz(21.7290, 16.1783, 70.3703) |
| Luminance | 0.1618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.77
Warm Blue
#4B57DB
ΔE00 3.84
Slate Blue
#6A5ACD
ΔE00 4.54
Royal Blue
#4169E1
ΔE00 4.75
Light Indigo
#6D5ACF
ΔE00 4.77
Iris
#6258C4
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B62DD #DDD65B
analogous
#5BA3DD #5B62DD #955BDD
triadic
#5B62DD #DD5B62 #62DD5B
tetradic
#5B62DD #DD5BA3 #DDD65B #5BDD95
square
#5B62DD #DD5BA3 #DDD65B #5BDD95
split-complementary
#5B62DD #DD955B #A3DD5B
monochromatic
#21279D #2B34D0 #5B62DD #8E93E8 #C0C3F2
Accessibility & contrast
On white
4.96
#5B62DD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#5B62DD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B62DD
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B62DD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B62DD | 1.00 | 4.96 | 4.24 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#007F96
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5b62dd; /* rgb */ color: rgb(91, 98, 221); /* oklch */ color: oklch(55.8% 0.185 276.2);
Tailwind
colors: {
custom: {
50: '#958ee8',
500: '#5b62dd',
950: '#000000',
},
}SCSS
$custom: #5b62dd; $custom-light: #958ee8; $custom-dark: #000000;
JSON
{
"hex": "#5b62dd",
"rgb": {
"r": 91,
"g": 98,
"b": 221
},
"hsl": {
"h": 236.769,
"s": 65.657,
"l": 61.176
},
"oklch": {
"l": 0.55808,
"c": 0.18454,
"h": 276.2
},
"luminance": 0.1618
}Semantic roles & 50–950 ramp
primary
#5B62DD
secondary
#E2E0B1
accent
#C418CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84