#585CD6#585CD6

#585CD6 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.0% C 0.183 H 276.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#585CD6
RGBrgb(88, 92, 214)
HSLhsl(238, 61%, 59%)
HSVhsv(238, 59%, 84%)
CMYKcmyk(58.9%, 57%, 0%, 16.1%)
CIE-LABlab(45.06, 34.15, -63.45)
CIE-LCHlch(45.06, 72.05, 298.29°)
OKLaboklab(54% 0.0221 -0.1821)
OKLCHoklch(54% 0.183 276.9)
XYZxyz(19.9853, 14.5826, 65.3669)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CD6 #D6D258
analogous
#589BD6 #585CD6 #9358D6
triadic
#585CD6 #D6585C #5CD658
tetradic
#585CD6 #D6589B #D6D258 #58D693
square
#585CD6 #D6589B #D6D258 #58D693
split-complementary
#585CD6 #D69358 #9BD658
monochromatic
#232790 #2F34C1 #585CD6 #898CE2 #BABCEE

Accessibility & contrast

On white

5.36
#585CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#585CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CD6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CD6#FFFFFF#000000##FFFFFF
##585CD61.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#0065D4
Tritanopia (blue-blind)
#007990
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #585cd6;
/* rgb */ color: rgb(88, 92, 214);
/* oklch */ color: oklch(54.0% 0.183 276.9);
Tailwind
colors: {
  custom: {
    50: '#928ae3',
    500: '#585cd6',
    950: '#000000',
  },
}
SCSS
$custom: #585cd6;
$custom-light: #928ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#585cd6",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 238.095,
    "s": 60.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54001,
    "c": 0.18348,
    "h": 276.9
  },
  "luminance": 0.14584
}

Semantic roles & 50–950 ramp

primary
#585CD6
secondary
#DEDCAC
accent
#DF44E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #585CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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