#5F668D#5F668D

#5F668D is a mid, moderate blue. Relative luminance 0.139; OKLCH L 52.0% C 0.062 H 276.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5F668D
RGBrgb(95, 102, 141)
HSLhsl(231, 19%, 46%)
HSVhsv(231, 33%, 55%)
CMYKcmyk(32.6%, 27.7%, 0%, 44.7%)
CIE-LABlab(44.03, 7.04, -22.33)
CIE-LCHlch(44.03, 23.42, 287.50°)
OKLaboklab(52.01% 0.0067 -0.0619)
OKLCHoklch(52.01% 0.062 276.2)
XYZxyz(14.2771, 13.8583, 27.1168)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F668D #8D865F
analogous
#5F7D8D #5F668D #6F5F8D
triadic
#5F668D #8D5F66 #668D5F
tetradic
#5F668D #8D5F7D #8D865F #5F8D6F
square
#5F668D #8D5F7D #8D865F #5F8D6F
split-complementary
#5F668D #8D6F5F #7D8D5F
monochromatic
#2E3144 #464C68 #5F668D #8086A9 #A4A9C2

Accessibility & contrast

On white

5.57
#5F668D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5F668D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F668D
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F668D#FFFFFF#000000##FFFFFF
##5F668D1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6A8F
Deuteranopia (green-blind)
#57668C
Tritanopia (blue-blind)
#536D74
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f668d;
/* rgb */ color: rgb(95, 102, 141);
/* oklch */ color: oklch(52.0% 0.062 276.2);
Tailwind
colors: {
  custom: {
    50: '#8d91ae',
    500: '#5f668d',
    950: '#000000',
  },
}
SCSS
$custom: #5f668d;
$custom-light: #8d91ae;
$custom-dark: #000000;
JSON
{
  "hex": "#5f668d",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 141
  },
  "hsl": {
    "h": 230.87,
    "s": 19.492,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52005,
    "c": 0.06225,
    "h": 276.2
  },
  "luminance": 0.13859
}

Semantic roles & 50–950 ramp

primary
#5F668D
secondary
#B0AD97
accent
#B06CBC
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0C10
muted
#7D7D7F

Preview Lab

Preview with #5F668D

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

Preview Lab → · Contrast checker → · Palette generator →

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