#5F599B#5F599B

#5F599B is a mid, moderate blue. Relative luminance 0.119; OKLCH L 50.0% C 0.103 H 286.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5F599B
RGBrgb(95, 89, 155)
HSLhsl(245, 27%, 48%)
HSVhsv(245, 43%, 61%)
CMYKcmyk(38.7%, 42.6%, 0%, 39.2%)
CIE-LABlab(41.13, 19.11, -35.25)
CIE-LCHlch(41.13, 40.10, 298.47°)
OKLaboklab(50% 0.0288 -0.0992)
OKLCHoklch(50% 0.103 286.2)
XYZxyz(14.2064, 11.9437, 32.5608)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F599B #959B59
analogous
#59749B #5F599B #80599B
triadic
#5F599B #9B5F59 #599B5F
tetradic
#5F599B #9B5974 #959B59 #599B80
square
#5F599B #9B5974 #959B59 #599B80
split-complementary
#5F599B #9B8059 #749B59
monochromatic
#2F2C4D #474374 #5F599B #827DB4 #A7A4CB

Accessibility & contrast

On white

6.20
#5F599B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5F599B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F599B
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F599B#FFFFFF#000000##FFFFFF
##5F599B1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43639E
Deuteranopia (green-blind)
#415F99
Tritanopia (blue-blind)
#4F6672
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f599b;
/* rgb */ color: rgb(95, 89, 155);
/* oklch */ color: oklch(50.0% 0.103 286.2);
Tailwind
colors: {
  custom: {
    50: '#8f88b9',
    500: '#5f599b',
    950: '#000000',
  },
}
SCSS
$custom: #5f599b;
$custom-light: #8f88b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f599b",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 155
  },
  "hsl": {
    "h": 245.455,
    "s": 27.049,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49995,
    "c": 0.10331,
    "h": 286.2
  },
  "luminance": 0.11944
}

Semantic roles & 50–950 ramp

primary
#5F599B
secondary
#B5B897
accent
#C364BB
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0D0B11
muted
#7D7C80

Preview Lab

Preview with #5F599B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5F599B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva