#5F599C#5F599C
#5F599C is a mid, moderate blue. Relative luminance 0.120; OKLCH L 50.1% C 0.105 H 286.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5F599C |
|---|---|
| RGB | rgb(95, 89, 156) |
| HSL | hsl(245, 27%, 48%) |
| HSV | hsv(245, 43%, 61%) |
| CMYK | cmyk(39.1%, 42.9%, 0%, 38.8%) |
| CIE-LAB | lab(41.18, 19.41, -35.76) |
| CIE-LCH | lch(41.18, 40.69, 298.49°) |
| OKLab | oklab(50.05% 0.029 -0.1007) |
| OKLCH | oklch(50.05% 0.105 286) |
| XYZ | xyz(14.2908, 11.9775, 33.0050) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.48
Dusk
#4E5481
ΔE00 5.92
Iris
#6258C4
ΔE00 6.99
Royal Purple
#7851A9
ΔE00 7.09
Dusky Blue
#475F94
ΔE00 7.28
Blueberry
#464196
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F599C #969C59
analogous
#59749C #5F599C #80599C
triadic
#5F599C #9C5F59 #599C5F
tetradic
#5F599C #9C5974 #969C59 #599C80
square
#5F599C #9C5974 #969C59 #599C80
split-complementary
#5F599C #9C8059 #749C59
monochromatic
#302D4E #474375 #5F599C #827DB5 #A8A4CB
Accessibility & contrast
On white
6.18
#5F599C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#5F599C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F599C
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F599C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F599C | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42639F
Deuteranopia (green-blind)
#415F9A
Tritanopia (blue-blind)
#4E6673
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5f599c; /* rgb */ color: rgb(95, 89, 156); /* oklch */ color: oklch(50.1% 0.105 286.0);
Tailwind
colors: {
custom: {
50: '#8f88b9',
500: '#5f599c',
950: '#000000',
},
}SCSS
$custom: #5f599c; $custom-light: #8f88b9; $custom-dark: #000000;
JSON
{
"hex": "#5f599c",
"rgb": {
"r": 95,
"g": 89,
"b": 156
},
"hsl": {
"h": 245.373,
"s": 27.347,
"l": 48.039
},
"oklch": {
"l": 0.50054,
"c": 0.10479,
"h": 286
},
"luminance": 0.11978
}Semantic roles & 50–950 ramp
primary
#5F599C
secondary
#B6B998
accent
#C464BB
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0D0B11
muted
#7D7C80