#5F5FCA#5F5FCA
#5F5FCA is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.2% C 0.162 H 279.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5FCA |
|---|---|
| RGB | rgb(95, 95, 202) |
| HSL | hsl(240, 50%, 58%) |
| HSV | hsv(240, 53%, 79%) |
| CMYK | cmyk(53%, 53%, 0%, 20.8%) |
| CIE-LAB | lab(45.47, 29.78, -55.87) |
| CIE-LCH | lch(45.47, 63.32, 298.06°) |
| OKLab | oklab(54.18% 0.0268 -0.1597) |
| OKLCH | oklch(54.18% 0.162 279.5) |
| XYZ | xyz(19.4689, 14.8804, 57.7120) |
| Luminance | 0.1488 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.66
Iris
#6258C4
ΔE00 2.61
Slate Blue
#6A5ACD
ΔE00 2.87
Light Indigo
#6D5ACF
ΔE00 3.36
Warm Blue
#4B57DB
ΔE00 4.06
Royal Blue
#4169E1
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5FCA #CACA5F
analogous
#5F94CA #5F5FCA #945FCA
triadic
#5F5FCA #CA5F5F #5FCA5F
tetradic
#5F5FCA #CA5F94 #CACA5F #5FCA94
square
#5F5FCA #CA5F94 #CACA5F #5FCA94
split-complementary
#5F5FCA #CA945F #94CA5F
monochromatic
#2B2B83 #3B3BB1 #5F5FCA #8D8DD9 #BBBBE8
Accessibility & contrast
On white
5.28
#5F5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#5F5FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5FCA
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5FCA | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2370CE
Deuteranopia (green-blind)
#1267C8
Tritanopia (blue-blind)
#30778B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5f5fca; /* rgb */ color: rgb(95, 95, 202); /* oklch */ color: oklch(54.2% 0.162 279.5);
Tailwind
colors: {
custom: {
50: '#948cdb',
500: '#5f5fca',
950: '#000000',
},
}SCSS
$custom: #5f5fca; $custom-light: #948cdb; $custom-dark: #000000;
JSON
{
"hex": "#5f5fca",
"rgb": {
"r": 95,
"g": 95,
"b": 202
},
"hsl": {
"h": 240,
"s": 50.235,
"l": 58.235
},
"oklch": {
"l": 0.54175,
"c": 0.1619,
"h": 279.5
},
"luminance": 0.14882
}Semantic roles & 50–950 ramp
primary
#5F5FCA
secondary
#D8D8AD
accent
#DA4EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83