#5A658D#5A658D

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

Color values

HEX#5A658D
RGBrgb(90, 101, 141)
HSLhsl(227, 22%, 45%)
HSVhsv(227, 36%, 55%)
CMYKcmyk(36.2%, 28.4%, 0%, 44.7%)
CIE-LABlab(43.37, 6.12, -23.39)
CIE-LCHlch(43.37, 24.18, 284.67°)
OKLaboklab(51.39% 0.0024 -0.065)
OKLCHoklch(51.39% 0.065 272.1)
XYZxyz(13.6764, 13.4036, 27.0607)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A658D #8D825A
analogous
#5A7E8D #5A658D #685A8D
triadic
#5A658D #8D5A65 #658D5A
tetradic
#5A658D #8D5A7E #8D825A #5A8D68
square
#5A658D #8D5A7E #8D825A #5A8D68
split-complementary
#5A658D #8D685A #7E8D5A
monochromatic
#2A2F42 #424A68 #5A658D #7A84AA #9FA7C2

Accessibility & contrast

On white

5.71
#5A658D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5A658D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A658D
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A658D#FFFFFF#000000##FFFFFF
##5A658D1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58698F
Deuteranopia (green-blind)
#54648C
Tritanopia (blue-blind)
#4B6D73
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5a658d;
/* rgb */ color: rgb(90, 101, 141);
/* oklch */ color: oklch(51.4% 0.065 272.1);
Tailwind
colors: {
  custom: {
    50: '#8a90ae',
    500: '#5a658d',
    950: '#000000',
  },
}
SCSS
$custom: #5a658d;
$custom-light: #8a90ae;
$custom-dark: #000000;
JSON
{
  "hex": "#5a658d",
  "rgb": {
    "r": 90,
    "g": 101,
    "b": 141
  },
  "hsl": {
    "h": 227.059,
    "s": 22.078,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51393,
    "c": 0.06504,
    "h": 272.1
  },
  "luminance": 0.13404
}

Semantic roles & 50–950 ramp

primary
#5A658D
secondary
#B0AA93
accent
#AC69BF
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0C10
muted
#7D7D7F

Preview Lab

Preview with #5A658D

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

Preview Lab → · Contrast checker → · Palette generator →

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