#5B689A#5B689A

#5B689A is a mid, moderate blue. Relative luminance 0.145; OKLCH L 52.8% C 0.081 H 272.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5B689A
RGBrgb(91, 104, 154)
HSLhsl(228, 26%, 48%)
HSVhsv(228, 41%, 60%)
CMYKcmyk(40.9%, 32.5%, 0%, 39.6%)
CIE-LABlab(44.88, 8.35, -28.78)
CIE-LCHlch(44.88, 29.96, 286.19°)
OKLaboklab(52.78% 0.0032 -0.0805)
OKLCHoklch(52.78% 0.081 272.3)
XYZxyz(15.0957, 14.4572, 32.5607)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B689A #9A8D5B
analogous
#5B879A #5B689A #6D5B9A
triadic
#5B689A #9A5B68 #689A5B
tetradic
#5B689A #9A5B87 #9A8D5B #5B9A6D
square
#5B689A #9A5B87 #9A8D5B #5B9A6D
split-complementary
#5B689A #9A6D5B #879A5B
monochromatic
#2E344D #444E74 #5B689A #7F8AB3 #A5ADCA

Accessibility & contrast

On white

5.40
#5B689A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5B689A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B689A
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B689A#FFFFFF#000000##FFFFFF
##5B689A1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576D9C
Deuteranopia (green-blind)
#526899
Tritanopia (blue-blind)
#47727A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5b689a;
/* rgb */ color: rgb(91, 104, 154);
/* oklch */ color: oklch(52.8% 0.081 272.3);
Tailwind
colors: {
  custom: {
    50: '#8c93b8',
    500: '#5b689a',
    950: '#000000',
  },
}
SCSS
$custom: #5b689a;
$custom-light: #8c93b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b689a",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 154
  },
  "hsl": {
    "h": 227.619,
    "s": 25.714,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52783,
    "c": 0.08054,
    "h": 272.3
  },
  "luminance": 0.14458
}

Semantic roles & 50–950 ramp

primary
#5B689A
secondary
#B8B299
accent
#AF66C2
background
#F8F9FB
surface
#F0F1F6
border
#CBCBD0
text
#0C0D11
muted
#7D7E80

Preview Lab

Preview with #5B689A

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

Preview Lab → · Contrast checker → · Palette generator →

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