#5D5FDF#5D5FDF
#5D5FDF is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.6% C 0.191 H 277.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5FDF |
|---|---|
| RGB | rgb(93, 95, 223) |
| HSL | hsl(239, 67%, 62%) |
| HSV | hsv(239, 58%, 87%) |
| CMYK | cmyk(58.3%, 57.4%, 0%, 12.5%) |
| CIE-LAB | lab(46.76, 36.11, -65.79) |
| CIE-LCH | lch(46.76, 75.05, 298.76°) |
| OKLab | oklab(55.56% 0.025 -0.1889) |
| OKLCH | oklch(55.56% 0.191 277.5) |
| XYZ | xyz(21.9214, 15.8377, 71.6995) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.40
Warm Blue
#4B57DB
ΔE00 3.38
Slate Blue
#6A5ACD
ΔE00 3.87
Light Indigo
#6D5ACF
ΔE00 4.05
Iris
#6258C4
ΔE00 4.60
Royal Blue
#4169E1
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5FDF #DFDD5D
analogous
#5DA0DF #5D5FDF #9C5DDF
triadic
#5D5FDF #DF5D5F #5FDF5D
tetradic
#5D5FDF #DF5DA0 #DFDD5D #5DDF9C
square
#5D5FDF #DF5DA0 #DFDD5D #5DDF9C
split-complementary
#5D5FDF #DF9C5D #A0DF5D
monochromatic
#2022A2 #2A2DD5 #5D5FDF #9091E9 #C3C4F3
Accessibility & contrast
On white
5.04
#5D5FDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#5D5FDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5FDF
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5FDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5FDF | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5d5fdf; /* rgb */ color: rgb(93, 95, 223); /* oklch */ color: oklch(55.6% 0.191 277.5);
Tailwind
colors: {
custom: {
50: '#968cea',
500: '#5d5fdf',
950: '#000000',
},
}SCSS
$custom: #5d5fdf; $custom-light: #968cea; $custom-dark: #000000;
JSON
{
"hex": "#5d5fdf",
"rgb": {
"r": 93,
"g": 95,
"b": 223
},
"hsl": {
"h": 239.077,
"s": 67.01,
"l": 61.961
},
"oklch": {
"l": 0.55556,
"c": 0.19054,
"h": 277.5
},
"luminance": 0.15839
}Semantic roles & 50–950 ramp
primary
#5D5FDF
secondary
#E4E3B4
accent
#CC17CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84