#585CA7#585CA7

#585CA7 is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.8% C 0.118 H 279.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#585CA7
RGBrgb(88, 92, 167)
HSLhsl(237, 31%, 50%)
HSVhsv(237, 47%, 65%)
CMYKcmyk(47.3%, 44.9%, 0%, 34.5%)
CIE-LABlab(42.03, 19.02, -40.99)
CIE-LCHlch(42.03, 45.19, 294.89°)
OKLaboklab(50.76% 0.0184 -0.1162)
OKLCHoklch(50.76% 0.118 279)
XYZxyz(14.8246, 12.5183, 38.1869)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CA7 #A7A358
analogous
#5883A7 #585CA7 #7C58A7
triadic
#585CA7 #A7585C #5CA758
tetradic
#585CA7 #A75883 #A7A358 #58A77C
square
#585CA7 #A75883 #A7A358 #58A77C
split-complementary
#585CA7 #A77C58 #83A758
monochromatic
#2E3057 #43467F #585CA7 #8083BC #A8AAD1

Accessibility & contrast

On white

5.99
#585CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#585CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CA7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CA7#FFFFFF#000000##FFFFFF
##585CA71.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E66AA
Deuteranopia (green-blind)
#3860A5
Tritanopia (blue-blind)
#3C6C79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #585ca7;
/* rgb */ color: rgb(88, 92, 167);
/* oklch */ color: oklch(50.8% 0.118 279.0);
Tailwind
colors: {
  custom: {
    50: '#8c8ac1',
    500: '#585ca7',
    950: '#000000',
  },
}
SCSS
$custom: #585ca7;
$custom-light: #8c8ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#585ca7",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 167
  },
  "hsl": {
    "h": 236.962,
    "s": 30.98,
    "l": 50
  },
  "oklch": {
    "l": 0.50756,
    "c": 0.11761,
    "h": 279
  },
  "luminance": 0.12519
}

Semantic roles & 50–950 ramp

primary
#585CA7
secondary
#BFBD9C
accent
#C261C7
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #585CA7

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

Preview Lab → · Contrast checker → · Palette generator →

#585CA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva