#5B668D#5B668D

#5B668D is a mid, moderate blue. Relative luminance 0.137; OKLCH L 51.7% C 0.063 H 271.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5B668D
RGBrgb(91, 102, 141)
HSLhsl(227, 22%, 45%)
HSVhsv(227, 35%, 55%)
CMYKcmyk(35.5%, 27.7%, 0%, 44.7%)
CIE-LABlab(43.73, 5.81, -22.83)
CIE-LCHlch(43.73, 23.55, 284.29°)
OKLaboklab(51.69% 0.0021 -0.0634)
OKLCHoklch(51.69% 0.063 271.9)
XYZxyz(13.8721, 13.6494, 27.0978)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B668D #8D825B
analogous
#5B7F8D #5B668D #695B8D
triadic
#5B668D #8D5B66 #668D5B
tetradic
#5B668D #8D5B7F #8D825B #5B8D69
square
#5B668D #8D5B7F #8D825B #5B8D69
split-complementary
#5B668D #8D695B #7F8D5B
monochromatic
#2B3043 #434B68 #5B668D #7B86AA #A0A8C2

Accessibility & contrast

On white

5.63
#5B668D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5B668D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B668D
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B668D#FFFFFF#000000##FFFFFF
##5B668D1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6A8F
Deuteranopia (green-blind)
#56658C
Tritanopia (blue-blind)
#4D6E74
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b668d;
/* rgb */ color: rgb(91, 102, 141);
/* oklch */ color: oklch(51.7% 0.063 271.9);
Tailwind
colors: {
  custom: {
    50: '#8b91ae',
    500: '#5b668d',
    950: '#000000',
  },
}
SCSS
$custom: #5b668d;
$custom-light: #8b91ae;
$custom-dark: #000000;
JSON
{
  "hex": "#5b668d",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 141
  },
  "hsl": {
    "h": 226.8,
    "s": 21.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51693,
    "c": 0.06341,
    "h": 271.9
  },
  "luminance": 0.1365
}

Semantic roles & 50–950 ramp

primary
#5B668D
secondary
#B0AA94
accent
#AC6ABE
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0C10
muted
#7D7D7F

Preview Lab

Preview with #5B668D

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

Preview Lab → · Contrast checker → · Palette generator →

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