#585CD1#585CD1

#585CD1 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.6% C 0.177 H 277.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#585CD1
RGBrgb(88, 92, 209)
HSLhsl(238, 57%, 58%)
HSVhsv(238, 58%, 82%)
CMYKcmyk(57.9%, 56%, 0%, 18%)
CIE-LABlab(44.70, 32.52, -61.16)
CIE-LCHlch(44.70, 69.26, 298.00°)
OKLaboklab(53.63% 0.022 -0.1754)
OKLCHoklch(53.63% 0.177 277.2)
XYZxyz(19.3566, 14.3311, 62.0554)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CD1 #D1CD58
analogous
#5898D1 #585CD1 #9158D1
triadic
#585CD1 #D1585C #5CD158
tetradic
#585CD1 #D15898 #D1CD58 #58D191
square
#585CD1 #D15898 #D1CD58 #58D191
split-complementary
#585CD1 #D19158 #98D158
monochromatic
#262989 #3337B9 #585CD1 #888BDE #B8BAEB

Accessibility & contrast

On white

5.43
#585CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#585CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CD1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CD1#FFFFFF#000000##FFFFFF
##585CD11.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD5
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#01778D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #585cd1;
/* rgb */ color: rgb(88, 92, 209);
/* oklch */ color: oklch(53.6% 0.177 277.2);
Tailwind
colors: {
  custom: {
    50: '#928ae0',
    500: '#585cd1',
    950: '#000000',
  },
}
SCSS
$custom: #585cd1;
$custom-light: #928ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#585cd1",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 238.017,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53627,
    "c": 0.1768,
    "h": 277.2
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

primary
#585CD1
secondary
#DAD9AA
accent
#DB48E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #585CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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