#585CD8#585CD8

#585CD8 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.2% C 0.186 H 276.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#585CD8
RGBrgb(88, 92, 216)
HSLhsl(238, 62%, 60%)
HSVhsv(238, 59%, 85%)
CMYKcmyk(59.3%, 57.4%, 0%, 15.3%)
CIE-LABlab(45.20, 34.80, -64.36)
CIE-LCHlch(45.20, 73.16, 298.40°)
OKLaboklab(54.15% 0.0221 -0.1848)
OKLCHoklch(54.15% 0.186 276.8)
XYZxyz(20.2423, 14.6854, 66.7203)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CD8 #D8D458
analogous
#589CD8 #585CD8 #9458D8
triadic
#585CD8 #D8585C #5CD858
tetradic
#585CD8 #D8589C #D8D458 #58D894
square
#585CD8 #D8589C #D8D458 #58D894
split-complementary
#585CD8 #D89458 #9CD858
monochromatic
#222693 #2E33C5 #585CD8 #8A8CE4 #BBBDEF

Accessibility & contrast

On white

5.33
#585CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#585CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CD8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CD8#FFFFFF#000000##FFFFFF
##585CD81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #585cd8;
/* rgb */ color: rgb(88, 92, 216);
/* oklch */ color: oklch(54.2% 0.186 276.8);
Tailwind
colors: {
  custom: {
    50: '#938ae5',
    500: '#585cd8',
    950: '#000000',
  },
}
SCSS
$custom: #585cd8;
$custom-light: #938ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#585cd8",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 238.125,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54152,
    "c": 0.18615,
    "h": 276.8
  },
  "luminance": 0.14687
}

Semantic roles & 50–950 ramp

primary
#585CD8
secondary
#DFDDAD
accent
#E043E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #585CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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