#5F5CC0#5F5CC0
#5F5CC0 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.9% C 0.152 H 281.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5CC0 |
|---|---|
| RGB | rgb(95, 92, 192) |
| HSL | hsl(242, 44%, 56%) |
| HSV | hsv(242, 52%, 75%) |
| CMYK | cmyk(50.5%, 52.1%, 0%, 24.7%) |
| CIE-LAB | lab(44.08, 28.48, -52.34) |
| CIE-LCH | lch(44.08, 59.58, 298.56°) |
| OKLab | oklab(52.93% 0.0296 -0.1493) |
| OKLCH | oklch(52.93% 0.152 281.2) |
| XYZ | xyz(18.0580, 13.8920, 51.5888) |
| Luminance | 0.1389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.67
Dark Periwinkle
#665FD1
ΔE00 2.91
Slate Blue
#6A5ACD
ΔE00 2.98
Light Indigo
#6D5ACF
ΔE00 3.57
Warm Blue
#4B57DB
ΔE00 4.78
Bluey Purple
#6241C7
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5CC0 #BDC05C
analogous
#5C8BC0 #5F5CC0 #915CC0
triadic
#5F5CC0 #C05F5C #5CC05F
tetradic
#5F5CC0 #C05C8B #BDC05C #5CC091
square
#5F5CC0 #C05C8B #BDC05C #5CC091
split-complementary
#5F5CC0 #C0915C #8BC05C
monochromatic
#2F2D75 #413EA1 #5F5CC0 #8A88D1 #B6B4E2
Accessibility & contrast
On white
5.56
#5F5CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#5F5CC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5CC0
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5CC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5CC0 | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#296CC4
Deuteranopia (green-blind)
#1F65BE
Tritanopia (blue-blind)
#397285
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5f5cc0; /* rgb */ color: rgb(95, 92, 192); /* oklch */ color: oklch(52.9% 0.152 281.2);
Tailwind
colors: {
custom: {
50: '#938ad4',
500: '#5f5cc0',
950: '#000000',
},
}SCSS
$custom: #5f5cc0; $custom-light: #938ad4; $custom-dark: #000000;
JSON
{
"hex": "#5f5cc0",
"rgb": {
"r": 95,
"g": 92,
"b": 192
},
"hsl": {
"h": 241.8,
"s": 44.248,
"l": 55.686
},
"oklch": {
"l": 0.52926,
"c": 0.15218,
"h": 281.2
},
"luminance": 0.13893
}Semantic roles & 50–950 ramp
primary
#5F5CC0
secondary
#CFD1A7
accent
#D454D0
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83