#5F5B7D#5F5B7D

#5F5B7D is a mid, muted blue. Relative luminance 0.114; OKLCH L 48.8% C 0.054 H 289.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5F5B7D
RGBrgb(95, 91, 125)
HSLhsl(247, 16%, 42%)
HSVhsv(247, 27%, 49%)
CMYKcmyk(24%, 27.2%, 0%, 51%)
CIE-LABlab(40.24, 9.54, -18.51)
CIE-LCHlch(40.24, 20.83, 297.27°)
OKLaboklab(48.84% 0.0182 -0.051)
OKLCHoklch(48.84% 0.054 289.6)
XYZxyz(12.1612, 11.3956, 20.9569)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5B7D #797D5B
analogous
#5B687D #5F5B7D #705B7D
triadic
#5F5B7D #7D5F5B #5B7D5F
tetradic
#5F5B7D #7D5B68 #797D5B #5B7D70
square
#5F5B7D #7D5B68 #797D5B #5B7D70
split-complementary
#5F5B7D #7D705B #687D5B
monochromatic
#292736 #44415A #5F5B7D #7D789D #9F9CB7

Accessibility & contrast

On white

6.40
#5F5B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5F5B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5B7D
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5B7D#FFFFFF#000000##FFFFFF
##5F5B7D1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53607E
Deuteranopia (green-blind)
#525E7C
Tritanopia (blue-blind)
#596167
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5f5b7d;
/* rgb */ color: rgb(95, 91, 125);
/* oklch */ color: oklch(48.8% 0.054 289.6);
Tailwind
colors: {
  custom: {
    50: '#8d89a2',
    500: '#5f5b7d',
    950: '#000000',
  },
}
SCSS
$custom: #5f5b7d;
$custom-light: #8d89a2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5b7d",
  "rgb": {
    "r": 95,
    "g": 91,
    "b": 125
  },
  "hsl": {
    "h": 247.059,
    "s": 15.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48844,
    "c": 0.0541,
    "h": 289.6
  },
  "luminance": 0.11396
}

Semantic roles & 50–950 ramp

primary
#5F5B7D
secondary
#A2A58F
accent
#B86FB0
background
#F8F8FA
surface
#F0F0F3
border
#CBCBCD
text
#0C0B0F
muted
#7D7C7F

Preview Lab

Preview with #5F5B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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