#5F5CCF#5F5CCF
#5F5CCF is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.0% C 0.173 H 280.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5CCF |
|---|---|
| RGB | rgb(95, 92, 207) |
| HSL | hsl(242, 55%, 59%) |
| HSV | hsv(242, 56%, 81%) |
| CMYK | cmyk(54.1%, 55.6%, 0%, 18.8%) |
| CIE-LAB | lab(45.07, 33.20, -59.40) |
| CIE-LCH | lch(45.07, 68.05, 299.20°) |
| OKLab | oklab(53.98% 0.0302 -0.17) |
| OKLCH | oklch(53.98% 0.173 280.1) |
| XYZ | xyz(19.8054, 14.5909, 60.7921) |
| Luminance | 0.1459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.47
Iris
#6258C4
ΔE00 2.20
Slate Blue
#6A5ACD
ΔE00 2.23
Light Indigo
#6D5ACF
ΔE00 2.73
Warm Blue
#4B57DB
ΔE00 3.32
Royal Blue
#4169E1
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5CCF #CCCF5C
analogous
#5C92CF #5F5CCF #985CCF
triadic
#5F5CCF #CF5F5C #5CCF5F
tetradic
#5F5CCF #CF5C92 #CCCF5C #5CCF98
square
#5F5CCF #CF5C92 #CCCF5C #5CCF98
split-complementary
#5F5CCF #CF985C #92CF5C
monochromatic
#2B2888 #3936B8 #5F5CCF #8D8BDD #BCBBEB
Accessibility & contrast
On white
5.36
#5F5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#5F5CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5CCF
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5CCF | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#076FD3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#2B768C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5f5ccf; /* rgb */ color: rgb(95, 92, 207); /* oklch */ color: oklch(54.0% 0.173 280.1);
Tailwind
colors: {
custom: {
50: '#958ade',
500: '#5f5ccf',
950: '#000000',
},
}SCSS
$custom: #5f5ccf; $custom-light: #958ade; $custom-dark: #000000;
JSON
{
"hex": "#5f5ccf",
"rgb": {
"r": 95,
"g": 92,
"b": 207
},
"hsl": {
"h": 241.565,
"s": 54.502,
"l": 58.627
},
"oklch": {
"l": 0.53983,
"c": 0.1727,
"h": 280.1
},
"luminance": 0.14592
}Semantic roles & 50–950 ramp
primary
#5F5CCF
secondary
#D9DAAD
accent
#DE4ADA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83