#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
RGBrgb(95, 89, 156)
HSLhsl(245, 27%, 48%)
HSVhsv(245, 43%, 61%)
CMYKcmyk(39.1%, 42.9%, 0%, 38.8%)
CIE-LABlab(41.18, 19.41, -35.76)
CIE-LCHlch(41.18, 40.69, 298.49°)
OKLaboklab(50.05% 0.029 -0.1007)
OKLCHoklch(50.05% 0.105 286)
XYZxyz(14.2908, 11.9775, 33.0050)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##5F599C1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.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

Preview Lab

Preview with #5F599C

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

Preview Lab → · Contrast checker → · Palette generator →

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