#5B658C#5B658C

#5B658C is a mid, moderate blue. Relative luminance 0.134; OKLCH L 51.4% C 0.063 H 272.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5B658C
RGBrgb(91, 101, 140)
HSLhsl(228, 21%, 45%)
HSVhsv(228, 35%, 55%)
CMYKcmyk(35%, 27.9%, 0%, 45.1%)
CIE-LABlab(43.40, 6.14, -22.74)
CIE-LCHlch(43.40, 23.55, 285.12°)
OKLaboklab(51.42% 0.0032 -0.0631)
OKLCHoklch(51.42% 0.063 272.9)
XYZxyz(13.7003, 13.4244, 26.6752)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B658C #8C825B
analogous
#5B7D8C #5B658C #695B8C
triadic
#5B658C #8C5B65 #658C5B
tetradic
#5B658C #8C5B7D #8C825B #5B8C69
square
#5B658C #8C5B7D #8C825B #5B8C69
split-complementary
#5B658C #8C695B #7D8C5B
monochromatic
#2B2F42 #434A67 #5B658C #7B84A9 #A0A7C1

Accessibility & contrast

On white

5.70
#5B658C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5B658C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B658C
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B658C#FFFFFF#000000##FFFFFF
##5B658C1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59698E
Deuteranopia (green-blind)
#55658B
Tritanopia (blue-blind)
#4D6D73
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b658c;
/* rgb */ color: rgb(91, 101, 140);
/* oklch */ color: oklch(51.4% 0.063 272.9);
Tailwind
colors: {
  custom: {
    50: '#8b90ad',
    500: '#5b658c',
    950: '#000000',
  },
}
SCSS
$custom: #5b658c;
$custom-light: #8b90ad;
$custom-dark: #000000;
JSON
{
  "hex": "#5b658c",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 140
  },
  "hsl": {
    "h": 227.755,
    "s": 21.212,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51422,
    "c": 0.06319,
    "h": 272.9
  },
  "luminance": 0.13425
}

Semantic roles & 50–950 ramp

primary
#5B658C
secondary
#AFAA94
accent
#AD6ABE
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0C10
muted
#7D7D7F

Preview Lab

Preview with #5B658C

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

Preview Lab → · Contrast checker → · Palette generator →

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