#5F5699#5F5699
#5F5699 is a mid, moderate blue. Relative luminance 0.114; OKLCH L 49.3% C 0.105 H 288.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5699 |
|---|---|
| RGB | rgb(95, 86, 153) |
| HSL | hsl(248, 28%, 47%) |
| HSV | hsv(248, 44%, 60%) |
| CMYK | cmyk(37.9%, 43.8%, 0%, 40%) |
| CIE-LAB | lab(40.23, 20.41, -35.48) |
| CIE-LCH | lch(40.23, 40.93, 299.91°) |
| OKLab | oklab(49.28% 0.0326 -0.0999) |
| OKLCH | oklch(49.28% 0.105 288.1) |
| XYZ | xyz(13.7953, 11.3880, 31.6021) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.18
Dusk
#4E5481
ΔE00 5.80
Royal Purple
#7851A9
ΔE00 6.63
Iris
#6258C4
ΔE00 7.46
Blueberry
#464196
ΔE00 7.63
Dusky Blue
#475F94
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5699 #909956
analogous
#566F99 #5F5699 #815699
triadic
#5F5699 #995F56 #56995F
tetradic
#5F5699 #99566F #909956 #569981
square
#5F5699 #99566F #909956 #569981
split-complementary
#5F5699 #998156 #6F9956
monochromatic
#2E2A4B #474072 #5F5699 #8179B4 #A5A0CA
Accessibility & contrast
On white
6.41
#5F5699 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#5F5699 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5699
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5699 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F609C
Deuteranopia (green-blind)
#3F5D97
Tritanopia (blue-blind)
#506370
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5f5699; /* rgb */ color: rgb(95, 86, 153); /* oklch */ color: oklch(49.3% 0.105 288.1);
Tailwind
colors: {
custom: {
50: '#8f85b7',
500: '#5f5699',
950: '#000000',
},
}SCSS
$custom: #5f5699; $custom-light: #8f85b7; $custom-dark: #000000;
JSON
{
"hex": "#5f5699",
"rgb": {
"r": 95,
"g": 86,
"b": 153
},
"hsl": {
"h": 248.06,
"s": 28.033,
"l": 46.863
},
"oklch": {
"l": 0.49277,
"c": 0.10506,
"h": 288.1
},
"luminance": 0.11388
}Semantic roles & 50–950 ramp
primary
#5F5699
secondary
#B2B794
accent
#C463B7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0D0B11
muted
#7D7C80