#5F5ABE#5F5ABE
#5F5ABE is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.4% C 0.152 H 282.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5ABE |
|---|---|
| RGB | rgb(95, 90, 190) |
| HSL | hsl(243, 43%, 55%) |
| HSV | hsv(243, 53%, 75%) |
| CMYK | cmyk(50%, 52.6%, 0%, 25.5%) |
| CIE-LAB | lab(43.45, 29.09, -52.18) |
| CIE-LCH | lch(43.45, 59.74, 299.14°) |
| OKLab | oklab(52.42% 0.0317 -0.1488) |
| OKLCH | oklch(52.42% 0.152 282) |
| XYZ | xyz(17.6669, 13.4620, 50.3727) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.33
Slate Blue
#6A5ACD
ΔE00 3.02
Dark Periwinkle
#665FD1
ΔE00 3.36
Light Indigo
#6D5ACF
ΔE00 3.61
Warm Blue
#4B57DB
ΔE00 4.94
Ocean Blue
#4F42B5
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5ABE #B9BE5A
analogous
#5A87BE #5F5ABE #915ABE
triadic
#5F5ABE #BE5F5A #5ABE5F
tetradic
#5F5ABE #BE5A87 #B9BE5A #5ABE91
square
#5F5ABE #BE5A87 #B9BE5A #5ABE91
split-complementary
#5F5ABE #BE915A #87BE5A
monochromatic
#302D71 #433E9D #5F5ABE #8A86CF #B4B2E1
Accessibility & contrast
On white
5.69
#5F5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#5F5ABE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5ABE
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5ABE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5ABE | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#266AC1
Deuteranopia (green-blind)
#1E63BC
Tritanopia (blue-blind)
#3B7083
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5f5abe; /* rgb */ color: rgb(95, 90, 190); /* oklch */ color: oklch(52.4% 0.152 282.0);
Tailwind
colors: {
custom: {
50: '#9388d2',
500: '#5f5abe',
950: '#000000',
},
}SCSS
$custom: #5f5abe; $custom-light: #9388d2; $custom-dark: #000000;
JSON
{
"hex": "#5f5abe",
"rgb": {
"r": 95,
"g": 90,
"b": 190
},
"hsl": {
"h": 243,
"s": 43.478,
"l": 54.902
},
"oklch": {
"l": 0.52416,
"c": 0.15217,
"h": 282
},
"luminance": 0.13463
}Semantic roles & 50–950 ramp
primary
#5F5ABE
secondary
#CDCFA5
accent
#D355CD
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83