#5F688D#5F688D

#5F688D is a mid, muted blue. Relative luminance 0.143; OKLCH L 52.4% C 0.060 H 273.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5F688D
RGBrgb(95, 104, 141)
HSLhsl(228, 19%, 46%)
HSVhsv(228, 33%, 55%)
CMYKcmyk(32.6%, 26.2%, 0%, 44.7%)
CIE-LABlab(44.60, 5.82, -21.45)
CIE-LCHlch(44.60, 22.23, 285.18°)
OKLaboklab(52.45% 0.0038 -0.0594)
OKLCHoklch(52.45% 0.06 273.6)
XYZxyz(14.4760, 14.2561, 27.1831)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F688D #8D845F
analogous
#5F7F8D #5F688D #6D5F8D
triadic
#5F688D #8D5F68 #688D5F
tetradic
#5F688D #8D5F7F #8D845F #5F8D6D
square
#5F688D #8D5F7F #8D845F #5F8D6D
split-complementary
#5F688D #8D6D5F #7F8D5F
monochromatic
#2E3244 #464D68 #5F688D #8088A9 #A4AAC2

Accessibility & contrast

On white

5.45
#5F688D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5F688D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F688D
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F688D#FFFFFF#000000##FFFFFF
##5F688D1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6B8F
Deuteranopia (green-blind)
#59688C
Tritanopia (blue-blind)
#526F75
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f688d;
/* rgb */ color: rgb(95, 104, 141);
/* oklch */ color: oklch(52.4% 0.060 273.6);
Tailwind
colors: {
  custom: {
    50: '#8d93ae',
    500: '#5f688d',
    950: '#000000',
  },
}
SCSS
$custom: #5f688d;
$custom-light: #8d93ae;
$custom-dark: #000000;
JSON
{
  "hex": "#5f688d",
  "rgb": {
    "r": 95,
    "g": 104,
    "b": 141
  },
  "hsl": {
    "h": 228.261,
    "s": 19.492,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52447,
    "c": 0.05951,
    "h": 273.6
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#5F688D
secondary
#B0AB97
accent
#AC6CBC
background
#F8F9FA
surface
#F0F1F4
border
#CBCBCE
text
#0C0D10
muted
#7D7E7F

Preview Lab

Preview with #5F688D

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

Preview Lab → · Contrast checker → · Palette generator →

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