#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
RGBrgb(95, 89, 154)
HSLhsl(246, 27%, 48%)
HSVhsv(246, 42%, 60%)
CMYKcmyk(38.3%, 42.2%, 0%, 39.6%)
CIE-LABlab(41.07, 18.82, -34.74)
CIE-LCHlch(41.07, 39.51, 298.45°)
OKLaboklab(49.94% 0.0286 -0.0977)
OKLCHoklch(49.94% 0.102 286.3)
XYZxyz(14.1228, 11.9103, 32.1204)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##5F599A1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.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

Preview Lab

Preview with #5F599A

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

Preview Lab → · Contrast checker → · Palette generator →

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