#5F5AAF#5F5AAF
#5F5AAF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.4% C 0.131 H 283.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5AAF |
|---|---|
| RGB | rgb(95, 90, 175) |
| HSL | hsl(244, 35%, 52%) |
| HSV | hsv(244, 49%, 69%) |
| CMYK | cmyk(45.7%, 48.6%, 0%, 31.4%) |
| CIE-LAB | lab(42.52, 24.47, -44.90) |
| CIE-LCH | lch(42.52, 51.13, 298.59°) |
| OKLab | oklab(51.42% 0.0304 -0.1274) |
| OKLCH | oklch(51.42% 0.131 283.4) |
| XYZ | xyz(16.1111, 12.8396, 42.1785) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.54
Slate Blue
#6A5ACD
ΔE00 5.08
Dark Periwinkle
#665FD1
ΔE00 5.53
Light Indigo
#6D5ACF
ΔE00 5.57
Twilight
#4E518B
ΔE00 6.84
Royal Purple
#7851A9
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5AAF #AAAF5A
analogous
#5A80AF #5F5AAF #895AAF
triadic
#5F5AAF #AF5F5A #5AAF5F
tetradic
#5F5AAF #AF5A80 #AAAF5A #5AAF89
square
#5F5AAF #AF5A80 #AAAF5A #5AAF89
split-complementary
#5F5AAF #AF895A #80AF5A
monochromatic
#312F60 #474389 #5F5AAF #8783C3 #AFACD7
Accessibility & contrast
On white
5.89
#5F5AAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#5F5AAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5AAF
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5AAF | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#3262AD
Tritanopia (blue-blind)
#456C7C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5f5aaf; /* rgb */ color: rgb(95, 90, 175); /* oklch */ color: oklch(51.4% 0.131 283.4);
Tailwind
colors: {
custom: {
50: '#9188c7',
500: '#5f5aaf',
950: '#000000',
},
}SCSS
$custom: #5f5aaf; $custom-light: #9188c7; $custom-dark: #000000;
JSON
{
"hex": "#5f5aaf",
"rgb": {
"r": 95,
"g": 90,
"b": 175
},
"hsl": {
"h": 243.529,
"s": 34.694,
"l": 51.961
},
"oklch": {
"l": 0.51418,
"c": 0.13102,
"h": 283.4
},
"luminance": 0.1284
}Semantic roles & 50–950 ramp
primary
#5F5AAF
secondary
#C3C5A0
accent
#CB5DC4
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82