#5F5FCF#5F5FCF
#5F5FCF is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.5% C 0.169 H 279.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5FCF |
|---|---|
| RGB | rgb(95, 95, 207) |
| HSL | hsl(240, 54%, 59%) |
| HSV | hsv(240, 54%, 81%) |
| CMYK | cmyk(54.1%, 54.1%, 0%, 18.8%) |
| CIE-LAB | lab(45.80, 31.37, -58.22) |
| CIE-LCH | lch(45.80, 66.13, 298.32°) |
| OKLab | oklab(54.53% 0.0271 -0.1665) |
| OKLCH | oklch(54.53% 0.169 279.2) |
| XYZ | xyz(20.0705, 15.1210, 60.8804) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.31
Slate Blue
#6A5ACD
ΔE00 2.81
Iris
#6258C4
ΔE00 2.92
Light Indigo
#6D5ACF
ΔE00 3.25
Warm Blue
#4B57DB
ΔE00 3.72
Royal Blue
#4169E1
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5FCF #CFCF5F
analogous
#5F97CF #5F5FCF #975FCF
triadic
#5F5FCF #CF5F5F #5FCF5F
tetradic
#5F5FCF #CF5F97 #CFCF5F #5FCF97
square
#5F5FCF #CF5F97 #CFCF5F #5FCF97
split-complementary
#5F5FCF #CF975F #97CF5F
monochromatic
#29298A #3838B9 #5F5FCF #8E8EDD #BDBDEB
Accessibility & contrast
On white
5.22
#5F5FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#5F5FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5FCF
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5FCF | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A71D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#2A798E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5f5fcf; /* rgb */ color: rgb(95, 95, 207); /* oklch */ color: oklch(54.5% 0.169 279.2);
Tailwind
colors: {
custom: {
50: '#958cde',
500: '#5f5fcf',
950: '#000000',
},
}SCSS
$custom: #5f5fcf; $custom-light: #958cde; $custom-dark: #000000;
JSON
{
"hex": "#5f5fcf",
"rgb": {
"r": 95,
"g": 95,
"b": 207
},
"hsl": {
"h": 240,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.54527,
"c": 0.16873,
"h": 279.2
},
"luminance": 0.15122
}Semantic roles & 50–950 ramp
primary
#5F5FCF
secondary
#DBDBAF
accent
#DD4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83