#5A6284#5A6284

#5A6284 is a mid, muted blue. Relative luminance 0.126; OKLCH L 50.3% C 0.055 H 274.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5A6284
RGBrgb(90, 98, 132)
HSLhsl(229, 19%, 44%)
HSVhsv(229, 32%, 52%)
CMYKcmyk(31.8%, 25.8%, 0%, 48.2%)
CIE-LABlab(42.12, 5.44, -19.91)
CIE-LCHlch(42.12, 20.64, 285.29°)
OKLaboklab(50.29% 0.0039 -0.055)
OKLCHoklch(50.29% 0.055 274)
XYZxyz(12.7478, 12.5746, 23.5808)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6284 #847C5A
analogous
#5A7784 #5A6284 #675A84
triadic
#5A6284 #845A62 #62845A
tetradic
#5A6284 #845A77 #847C5A #5A8467
square
#5A6284 #845A77 #847C5A #5A8467
split-complementary
#5A6284 #84675A #77845A
monochromatic
#282C3B #414760 #5A6284 #7880A3 #9DA3BC

Accessibility & contrast

On white

5.97
#5A6284 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5A6284 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6284
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6284#FFFFFF#000000##FFFFFF
##5A62841.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586585
Deuteranopia (green-blind)
#556283
Tritanopia (blue-blind)
#4F686E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a6284;
/* rgb */ color: rgb(90, 98, 132);
/* oklch */ color: oklch(50.3% 0.055 274.0);
Tailwind
colors: {
  custom: {
    50: '#8a8ea8',
    500: '#5a6284',
    950: '#000000',
  },
}
SCSS
$custom: #5a6284;
$custom-light: #8a8ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6284",
  "rgb": {
    "r": 90,
    "g": 98,
    "b": 132
  },
  "hsl": {
    "h": 228.571,
    "s": 18.919,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50293,
    "c": 0.05518,
    "h": 274
  },
  "luminance": 0.12575
}

Semantic roles & 50–950 ramp

primary
#5A6284
secondary
#AAA590
accent
#AC6CBC
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0C0F
muted
#7D7D7F

Preview Lab

Preview with #5A6284

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

Preview Lab → · Contrast checker → · Palette generator →

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