#5F5697#5F5697
#5F5697 is a mid, moderate blue. Relative luminance 0.113; OKLCH L 49.2% C 0.102 H 288.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5697 |
|---|---|
| RGB | rgb(95, 86, 151) |
| HSL | hsl(248, 27%, 46%) |
| HSV | hsv(248, 43%, 59%) |
| CMYK | cmyk(37.1%, 43%, 0%, 40.8%) |
| CIE-LAB | lab(40.12, 19.83, -34.45) |
| CIE-LCH | lch(40.12, 39.75, 299.93°) |
| OKLab | oklab(49.16% 0.0322 -0.0969) |
| OKLCH | oklch(49.16% 0.102 288.4) |
| XYZ | xyz(13.6315, 11.3225, 30.7394) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.07
Dusk
#4E5481
ΔE00 5.57
Royal Purple
#7851A9
ΔE00 6.79
Blueberry
#464196
ΔE00 7.78
Iris
#6258C4
ΔE00 7.88
Dusky Blue
#475F94
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5697 #8E9756
analogous
#566E97 #5F5697 #805697
triadic
#5F5697 #975F56 #56975F
tetradic
#5F5697 #97566E #8E9756 #569780
square
#5F5697 #97566E #8E9756 #569780
split-complementary
#5F5697 #978056 #6E9756
monochromatic
#2E2A49 #464070 #5F5697 #8078B2 #A59FC8
Accessibility & contrast
On white
6.43
#5F5697 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#5F5697 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5697
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5697 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5697 | 1.00 | 6.43 | 3.26 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#406099
Deuteranopia (green-blind)
#405D95
Tritanopia (blue-blind)
#50626F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5f5697; /* rgb */ color: rgb(95, 86, 151); /* oklch */ color: oklch(49.2% 0.102 288.4);
Tailwind
colors: {
custom: {
50: '#8f85b6',
500: '#5f5697',
950: '#000000',
},
}SCSS
$custom: #5f5697; $custom-light: #8f85b6; $custom-dark: #000000;
JSON
{
"hex": "#5f5697",
"rgb": {
"r": 95,
"g": 86,
"b": 151
},
"hsl": {
"h": 248.308,
"s": 27.426,
"l": 46.471
},
"oklch": {
"l": 0.49159,
"c": 0.1021,
"h": 288.4
},
"luminance": 0.11323
}Semantic roles & 50–950 ramp
primary
#5F5697
secondary
#B1B693
accent
#C464B7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80