#5D62DF#5D62DF
#5D62DF is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.1% C 0.187 H 276.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5D62DF |
|---|---|
| RGB | rgb(93, 98, 223) |
| HSL | hsl(238, 67%, 62%) |
| HSV | hsv(238, 58%, 87%) |
| CMYK | cmyk(58.3%, 56.1%, 0%, 12.5%) |
| CIE-LAB | lab(47.48, 34.29, -64.63) |
| CIE-LCH | lch(47.48, 73.16, 297.95°) |
| OKLab | oklab(56.09% 0.0222 -0.1854) |
| OKLCH | oklch(56.09% 0.187 276.8) |
| XYZ | xyz(22.1969, 16.3886, 71.7914) |
| Luminance | 0.1639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.72
Warm Blue
#4B57DB
ΔE00 4.05
Slate Blue
#6A5ACD
ΔE00 4.47
Light Indigo
#6D5ACF
ΔE00 4.64
Royal Blue
#4169E1
ΔE00 5.03
Iris
#6258C4
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D62DF #DFDA5D
analogous
#5DA3DF #5D62DF #995DDF
triadic
#5D62DF #DF5D62 #62DF5D
tetradic
#5D62DF #DF5DA3 #DFDA5D #5DDF99
square
#5D62DF #DF5DA3 #DFDA5D #5DDF99
split-complementary
#5D62DF #DF995D #A3DF5D
monochromatic
#2025A2 #2A31D5 #5D62DF #9094E9 #C3C5F3
Accessibility & contrast
On white
4.91
#5D62DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#5D62DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D62DF
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D62DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D62DF | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5d62df; /* rgb */ color: rgb(93, 98, 223); /* oklch */ color: oklch(56.1% 0.187 276.8);
Tailwind
colors: {
custom: {
50: '#968eea',
500: '#5d62df',
950: '#000000',
},
}SCSS
$custom: #5d62df; $custom-light: #968eea; $custom-dark: #000000;
JSON
{
"hex": "#5d62df",
"rgb": {
"r": 93,
"g": 98,
"b": 223
},
"hsl": {
"h": 237.692,
"s": 67.01,
"l": 61.961
},
"oklch": {
"l": 0.5609,
"c": 0.18676,
"h": 276.8
},
"luminance": 0.1639
}Semantic roles & 50–950 ramp
primary
#5D62DF
secondary
#E4E2B4
accent
#C817CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84