#5F5CDA#5F5CDA
#5F5CDA is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.8% C 0.187 H 279.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5CDA |
|---|---|
| RGB | rgb(95, 92, 218) |
| HSL | hsl(241, 63%, 61%) |
| HSV | hsv(241, 58%, 85%) |
| CMYK | cmyk(56.4%, 57.8%, 0%, 14.5%) |
| CIE-LAB | lab(45.84, 36.68, -64.44) |
| CIE-LCH | lch(45.84, 74.15, 299.65°) |
| OKLab | oklab(54.8% 0.0303 -0.1849) |
| OKLCH | oklch(54.8% 0.187 279.3) |
| XYZ | xyz(21.1974, 15.1477, 68.1229) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.84
Slate Blue
#6A5ACD
ΔE00 2.81
Warm Blue
#4B57DB
ΔE00 3.03
Light Indigo
#6D5ACF
ΔE00 3.06
Iris
#6258C4
ΔE00 3.48
Azul
#1D5DEC
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5CDA #D7DA5C
analogous
#5C98DA #5F5CDA #9E5CDA
triadic
#5F5CDA #DA5F5C #5CDA5F
tetradic
#5F5CDA #DA5C98 #D7DA5C #5CDA9E
square
#5F5CDA #DA5C98 #D7DA5C #5CDA9E
split-complementary
#5F5CDA #DA9E5C #98DA5C
monochromatic
#262399 #322ECB #5F5CDA #908EE5 #C1C0F1
Accessibility & contrast
On white
5.21
#5F5CDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#5F5CDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5CDA
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5CDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5CDA | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#1A7A92
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5f5cda; /* rgb */ color: rgb(95, 92, 218); /* oklch */ color: oklch(54.8% 0.187 279.3);
Tailwind
colors: {
custom: {
50: '#978ae6',
500: '#5f5cda',
950: '#000000',
},
}SCSS
$custom: #5f5cda; $custom-light: #978ae6; $custom-dark: #000000;
JSON
{
"hex": "#5f5cda",
"rgb": {
"r": 95,
"g": 92,
"b": 218
},
"hsl": {
"h": 241.429,
"s": 63,
"l": 60.784
},
"oklch": {
"l": 0.54795,
"c": 0.18735,
"h": 279.3
},
"luminance": 0.15149
}Semantic roles & 50–950 ramp
primary
#5F5CDA
secondary
#E0E1B1
accent
#CB1BC7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0F0C16
muted
#7E7D84