#5F5CCD#5F5CCD
#5F5CCD is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.170 H 280.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5CCD |
|---|---|
| RGB | rgb(95, 92, 205) |
| HSL | hsl(242, 53%, 58%) |
| HSV | hsv(242, 55%, 80%) |
| CMYK | cmyk(53.7%, 55.1%, 0%, 19.6%) |
| CIE-LAB | lab(44.93, 32.57, -58.47) |
| CIE-LCH | lch(44.93, 66.93, 299.12°) |
| OKLab | oklab(53.84% 0.0302 -0.1673) |
| OKLCH | oklch(53.84% 0.17 280.2) |
| XYZ | xyz(19.5625, 14.4938, 59.5125) |
| Luminance | 0.1449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.56
Iris
#6258C4
ΔE00 2.00
Slate Blue
#6A5ACD
ΔE00 2.22
Light Indigo
#6D5ACF
ΔE00 2.76
Warm Blue
#4B57DB
ΔE00 3.45
Royal Blue
#4169E1
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5CCD #CACD5C
analogous
#5C91CD #5F5CCD #975CCD
triadic
#5F5CCD #CD5F5C #5CCD5F
tetradic
#5F5CCD #CD5C91 #CACD5C #5CCD97
square
#5F5CCD #CD5C91 #CACD5C #5CCD97
split-complementary
#5F5CCD #CD975C #91CD5C
monochromatic
#2B2986 #3B37B4 #5F5CCD #8D8BDB #BBBAEA
Accessibility & contrast
On white
5.39
#5F5CCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#5F5CCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5CCD
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5CCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5CCD | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#106FD1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#2D768B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5f5ccd; /* rgb */ color: rgb(95, 92, 205); /* oklch */ color: oklch(53.8% 0.170 280.2);
Tailwind
colors: {
custom: {
50: '#958add',
500: '#5f5ccd',
950: '#000000',
},
}SCSS
$custom: #5f5ccd; $custom-light: #958add; $custom-dark: #000000;
JSON
{
"hex": "#5f5ccd",
"rgb": {
"r": 95,
"g": 92,
"b": 205
},
"hsl": {
"h": 241.593,
"s": 53.052,
"l": 58.235
},
"oklch": {
"l": 0.53838,
"c": 0.17001,
"h": 280.2
},
"luminance": 0.14495
}Semantic roles & 50–950 ramp
primary
#5F5CCD
secondary
#D8D9AC
accent
#DC4BD9
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83