#5F599A#5F599A
#5F599A is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.9% C 0.102 H 286.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5F599A |
|---|---|
| RGB | rgb(95, 89, 154) |
| HSL | hsl(246, 27%, 48%) |
| HSV | hsv(246, 42%, 60%) |
| CMYK | cmyk(38.3%, 42.2%, 0%, 39.6%) |
| CIE-LAB | lab(41.07, 18.82, -34.74) |
| CIE-LCH | lch(41.07, 39.51, 298.45°) |
| OKLab | oklab(49.94% 0.0286 -0.0977) |
| OKLCH | oklch(49.94% 0.102 286.3) |
| XYZ | xyz(14.1228, 11.9103, 32.1204) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.33
Dusk
#4E5481
ΔE00 5.65
Royal Purple
#7851A9
ΔE00 7.22
Dusky Blue
#475F94
ΔE00 7.33
Iris
#6258C4
ΔE00 7.40
Blueberry
#464196
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F599A #949A59
analogous
#59749A #5F599A #7F599A
triadic
#5F599A #9A5F59 #599A5F
tetradic
#5F599A #9A5974 #949A59 #599A7F
square
#5F599A #9A5974 #949A59 #599A7F
split-complementary
#5F599A #9A7F59 #749A59
monochromatic
#2F2C4C #474373 #5F599A #827DB4 #A7A3CA
Accessibility & contrast
On white
6.21
#5F599A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#5F599A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F599A
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F599A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F599A | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43639C
Deuteranopia (green-blind)
#425F98
Tritanopia (blue-blind)
#4F6672
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5f599a; /* rgb */ color: rgb(95, 89, 154); /* oklch */ color: oklch(49.9% 0.102 286.3);
Tailwind
colors: {
custom: {
50: '#8f88b8',
500: '#5f599a',
950: '#000000',
},
}SCSS
$custom: #5f599a; $custom-light: #8f88b8; $custom-dark: #000000;
JSON
{
"hex": "#5f599a",
"rgb": {
"r": 95,
"g": 89,
"b": 154
},
"hsl": {
"h": 245.538,
"s": 26.749,
"l": 47.647
},
"oklch": {
"l": 0.49937,
"c": 0.10182,
"h": 286.3
},
"luminance": 0.11911
}Semantic roles & 50–950 ramp
primary
#5F599A
secondary
#B5B897
accent
#C365BA
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0D0B11
muted
#7D7C80