#5D5FCF#5D5FCF
#5D5FCF is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.4% C 0.169 H 278.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5FCF |
|---|---|
| RGB | rgb(93, 95, 207) |
| HSL | hsl(239, 54%, 59%) |
| HSV | hsv(239, 55%, 81%) |
| CMYK | cmyk(55.1%, 54.1%, 0%, 18.8%) |
| CIE-LAB | lab(45.66, 30.97, -58.46) |
| CIE-LCH | lch(45.66, 66.15, 297.92°) |
| OKLab | oklab(54.38% 0.0247 -0.1673) |
| OKLCH | oklch(54.38% 0.169 278.4) |
| XYZ | xyz(19.8653, 15.0153, 60.8708) |
| Luminance | 0.1502 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.66
Iris
#6258C4
ΔE00 3.07
Slate Blue
#6A5ACD
ΔE00 3.12
Warm Blue
#4B57DB
ΔE00 3.51
Light Indigo
#6D5ACF
ΔE00 3.57
Royal Blue
#4169E1
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5FCF #CFCD5D
analogous
#5D98CF #5D5FCF #945DCF
triadic
#5D5FCF #CF5D5F #5FCF5D
tetradic
#5D5FCF #CF5D98 #CFCD5D #5DCF94
square
#5D5FCF #CF5D98 #CFCD5D #5DCF94
split-complementary
#5D5FCF #CF945D #98CF5D
monochromatic
#292A89 #3739B8 #5D5FCF #8C8EDD #BBBCEB
Accessibility & contrast
On white
5.25
#5D5FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#5D5FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5FCF
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5FCF | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1871D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#23798E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5d5fcf; /* rgb */ color: rgb(93, 95, 207); /* oklch */ color: oklch(54.4% 0.169 278.4);
Tailwind
colors: {
custom: {
50: '#948cde',
500: '#5d5fcf',
950: '#000000',
},
}SCSS
$custom: #5d5fcf; $custom-light: #948cde; $custom-dark: #000000;
JSON
{
"hex": "#5d5fcf",
"rgb": {
"r": 93,
"g": 95,
"b": 207
},
"hsl": {
"h": 238.947,
"s": 54.286,
"l": 58.824
},
"oklch": {
"l": 0.54382,
"c": 0.16912,
"h": 278.4
},
"luminance": 0.15017
}Semantic roles & 50–950 ramp
primary
#5D5FCF
secondary
#DADAAD
accent
#DB4ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83