#585BAD#585BAD

#585BAD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.9% C 0.128 H 279.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#585BAD
RGBrgb(88, 91, 173)
HSLhsl(238, 34%, 51%)
HSVhsv(238, 49%, 68%)
CMYKcmyk(49.1%, 47.4%, 0%, 32.2%)
CIE-LABlab(42.11, 21.54, -44.40)
CIE-LCHlch(42.11, 49.35, 295.88°)
OKLaboklab(50.93% 0.0206 -0.1262)
OKLCHoklch(50.93% 0.128 279.3)
XYZxyz(15.3061, 12.5732, 41.1474)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585BAD #ADAA58
analogous
#5885AD #585BAD #7F58AD
triadic
#585BAD #AD585B #5BAD58
tetradic
#585BAD #AD5885 #ADAA58 #58AD7F
square
#585BAD #AD5885 #ADAA58 #58AD7F
split-complementary
#585BAD #AD7F58 #85AD58
monochromatic
#2E2F5D #424486 #585BAD #8183C1 #AAACD5

Accessibility & contrast

On white

5.97
#585BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#585BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585BAD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585BAD#FFFFFF#000000##FFFFFF
##585BAD1.005.973.515.97
#FFFFFF5.971.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3867B0
Deuteranopia (green-blind)
#3160AB
Tritanopia (blue-blind)
#386C7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #585bad;
/* rgb */ color: rgb(88, 91, 173);
/* oklch */ color: oklch(50.9% 0.128 279.3);
Tailwind
colors: {
  custom: {
    50: '#8c89c6',
    500: '#585bad',
    950: '#000000',
  },
}
SCSS
$custom: #585bad;
$custom-light: #8c89c6;
$custom-dark: #000000;
JSON
{
  "hex": "#585bad",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 173
  },
  "hsl": {
    "h": 237.882,
    "s": 34.137,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50934,
    "c": 0.12782,
    "h": 279.3
  },
  "luminance": 0.12574
}

Semantic roles & 50–950 ramp

primary
#585BAD
secondary
#C3C29E
accent
#C65ECA
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #585BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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