#5A668D#5A668D

#5A668D is a mid, moderate blue. Relative luminance 0.136; OKLCH L 51.6% C 0.064 H 270.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5A668D
RGBrgb(90, 102, 141)
HSLhsl(226, 22%, 45%)
HSVhsv(226, 36%, 55%)
CMYKcmyk(36.2%, 27.7%, 0%, 44.7%)
CIE-LABlab(43.65, 5.51, -22.95)
CIE-LCHlch(43.65, 23.60, 283.50°)
OKLaboklab(51.62% 0.001 -0.0637)
OKLCHoklch(51.62% 0.064 270.9)
XYZxyz(13.7741, 13.5989, 27.0932)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A668D #8D815A
analogous
#5A808D #5A668D #675A8D
triadic
#5A668D #8D5A66 #668D5A
tetradic
#5A668D #8D5A80 #8D815A #5A8D67
square
#5A668D #8D5A80 #8D815A #5A8D67
split-complementary
#5A668D #8D675A #808D5A
monochromatic
#2A3042 #424B68 #5A668D #7A85AA #9FA8C2

Accessibility & contrast

On white

5.65
#5A668D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5A668D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A668D
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A668D#FFFFFF#000000##FFFFFF
##5A668D1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59698F
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#4B6E74
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a668d;
/* rgb */ color: rgb(90, 102, 141);
/* oklch */ color: oklch(51.6% 0.064 270.9);
Tailwind
colors: {
  custom: {
    50: '#8a91ae',
    500: '#5a668d',
    950: '#000000',
  },
}
SCSS
$custom: #5a668d;
$custom-light: #8a91ae;
$custom-dark: #000000;
JSON
{
  "hex": "#5a668d",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 141
  },
  "hsl": {
    "h": 225.882,
    "s": 22.078,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51616,
    "c": 0.06374,
    "h": 270.9
  },
  "luminance": 0.13599
}

Semantic roles & 50–950 ramp

primary
#5A668D
secondary
#B0A993
accent
#AB69BF
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0C10
muted
#7D7D7F

Preview Lab

Preview with #5A668D

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

Preview Lab → · Contrast checker → · Palette generator →

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