#5F5CC7#5F5CC7
#5F5CC7 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.4% C 0.162 H 280.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5CC7 |
|---|---|
| RGB | rgb(95, 92, 199) |
| HSL | hsl(242, 49%, 57%) |
| HSV | hsv(242, 54%, 78%) |
| CMYK | cmyk(52.3%, 53.8%, 0%, 22%) |
| CIE-LAB | lab(44.53, 30.68, -55.66) |
| CIE-LCH | lch(44.53, 63.55, 298.86°) |
| OKLab | oklab(53.41% 0.03 -0.159) |
| OKLCH | oklch(53.41% 0.162 280.7) |
| XYZ | xyz(18.8521, 14.2096, 55.7711) |
| Luminance | 0.1421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.58
Dark Periwinkle
#665FD1
ΔE00 2.07
Slate Blue
#6A5ACD
ΔE00 2.41
Light Indigo
#6D5ACF
ΔE00 3.01
Warm Blue
#4B57DB
ΔE00 3.98
Royal Blue
#4169E1
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5CC7 #C4C75C
analogous
#5C8FC7 #5F5CC7 #945CC7
triadic
#5F5CC7 #C75F5C #5CC75F
tetradic
#5F5CC7 #C75C8F #C4C75C #5CC794
square
#5F5CC7 #C75C8F #C4C75C #5CC794
split-complementary
#5F5CC7 #C7945C #8FC75C
monochromatic
#2D2B7D #3E3BAB #5F5CC7 #8C8AD7 #B8B7E6
Accessibility & contrast
On white
5.47
#5F5CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#5F5CC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5CC7
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5CC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5CC7 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E6DCB
Deuteranopia (green-blind)
#0D65C5
Tritanopia (blue-blind)
#337488
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5f5cc7; /* rgb */ color: rgb(95, 92, 199); /* oklch */ color: oklch(53.4% 0.162 280.7);
Tailwind
colors: {
custom: {
50: '#948ad9',
500: '#5f5cc7',
950: '#000000',
},
}SCSS
$custom: #5f5cc7; $custom-light: #948ad9; $custom-dark: #000000;
JSON
{
"hex": "#5f5cc7",
"rgb": {
"r": 95,
"g": 92,
"b": 199
},
"hsl": {
"h": 241.682,
"s": 48.858,
"l": 57.059
},
"oklch": {
"l": 0.53412,
"c": 0.16184,
"h": 280.7
},
"luminance": 0.14211
}Semantic roles & 50–950 ramp
primary
#5F5CC7
secondary
#D4D5AA
accent
#D84FD5
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B15
muted
#7E7C83