#585CD5#585CD5

#585CD5 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.182 H 277.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#585CD5
RGBrgb(88, 92, 213)
HSLhsl(238, 60%, 59%)
HSVhsv(238, 59%, 84%)
CMYKcmyk(58.7%, 56.8%, 0%, 16.5%)
CIE-LABlab(44.99, 33.82, -62.99)
CIE-LCHlch(44.99, 71.50, 298.23°)
OKLaboklab(53.93% 0.0221 -0.1808)
OKLCHoklch(53.93% 0.182 277)
XYZxyz(19.8580, 14.5316, 64.6963)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CD5 #D5D158
analogous
#589BD5 #585CD5 #9358D5
triadic
#585CD5 #D5585C #5CD558
tetradic
#585CD5 #D5589B #D5D158 #58D593
square
#585CD5 #D5589B #D5D158 #58D593
split-complementary
#585CD5 #D59358 #9BD558
monochromatic
#24278F #3035C0 #585CD5 #898CE1 #BABBEE

Accessibility & contrast

On white

5.38
#585CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#585CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CD5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CD5#FFFFFF#000000##FFFFFF
##585CD51.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #585cd5;
/* rgb */ color: rgb(88, 92, 213);
/* oklch */ color: oklch(53.9% 0.182 277.0);
Tailwind
colors: {
  custom: {
    50: '#928ae3',
    500: '#585cd5',
    950: '#000000',
  },
}
SCSS
$custom: #585cd5;
$custom-light: #928ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#585cd5",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 238.08,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53925,
    "c": 0.18215,
    "h": 277
  },
  "luminance": 0.14533
}

Semantic roles & 50–950 ramp

primary
#585CD5
secondary
#DDDBAC
accent
#DE45E3
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B15
muted
#7E7C84

Preview Lab

Preview with #585CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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