#5F5CDF#5F5CDF
#5F5CDF is a mid, vivid blue. Relative luminance 0.154; OKLCH L 55.2% C 0.194 H 279.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5CDF |
|---|---|
| RGB | rgb(95, 92, 223) |
| HSL | hsl(241, 67%, 62%) |
| HSV | hsv(241, 59%, 87%) |
| CMYK | cmyk(57.4%, 58.7%, 0%, 12.5%) |
| CIE-LAB | lab(46.20, 38.27, -66.70) |
| CIE-LCH | lch(46.20, 76.90, 299.84°) |
| OKLab | oklab(55.17% 0.0302 -0.1915) |
| OKLCH | oklch(55.17% 0.194 279) |
| XYZ | xyz(21.8615, 15.4134, 71.6208) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.31
Warm Blue
#4B57DB
ΔE00 3.17
Slate Blue
#6A5ACD
ΔE00 3.26
Light Indigo
#6D5ACF
ΔE00 3.41
Iris
#6258C4
ΔE00 4.11
Mediumslateblue
#7B68EE
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5CDF #DCDF5C
analogous
#5C9BDF #5F5CDF #A15CDF
triadic
#5F5CDF #DF5F5C #5CDF5F
tetradic
#5F5CDF #DF5C9B #DCDF5C #5CDFA1
square
#5F5CDF #DF5C9B #DCDF5C #5CDFA1
split-complementary
#5F5CDF #DFA15C #9BDF5C
monochromatic
#2320A1 #2E2AD4 #5F5CDF #918FE9 #C3C2F3
Accessibility & contrast
On white
5.14
#5F5CDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#5F5CDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5CDF
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5CDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5CDF | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#0C7B95
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5f5cdf; /* rgb */ color: rgb(95, 92, 223); /* oklch */ color: oklch(55.2% 0.194 279.0);
Tailwind
colors: {
custom: {
50: '#988aea',
500: '#5f5cdf',
950: '#000000',
},
}SCSS
$custom: #5f5cdf; $custom-light: #988aea; $custom-dark: #000000;
JSON
{
"hex": "#5f5cdf",
"rgb": {
"r": 95,
"g": 92,
"b": 223
},
"hsl": {
"h": 241.374,
"s": 67.179,
"l": 61.765
},
"oklch": {
"l": 0.55173,
"c": 0.1939,
"h": 279
},
"luminance": 0.15415
}Semantic roles & 50–950 ramp
primary
#5F5CDF
secondary
#E3E4B3
accent
#CF16CB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84