#585FD9#585FD9

#585FD9 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.8% C 0.184 H 276.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#585FD9
RGBrgb(88, 95, 217)
HSLhsl(237, 63%, 60%)
HSVhsv(237, 59%, 85%)
CMYKcmyk(59.4%, 56.2%, 0%, 14.9%)
CIE-LABlab(46.00, 33.29, -63.63)
CIE-LCHlch(46.00, 71.81, 297.61°)
OKLaboklab(54.77% 0.0193 -0.1827)
OKLCHoklch(54.77% 0.184 276)
XYZxyz(20.6370, 15.2673, 67.4916)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FD9 #D9D258
analogous
#58A0D9 #585FD9 #9158D9
triadic
#585FD9 #D9585F #5FD958
tetradic
#585FD9 #D958A0 #D9D258 #58D991
square
#585FD9 #D958A0 #D9D258 #58D991
split-complementary
#585FD9 #D99158 #A0D958
monochromatic
#222895 #2D36C7 #585FD9 #8A8FE4 #BCBFF0

Accessibility & contrast

On white

5.18
#585FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#585FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FD9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FD9#FFFFFF#000000##FFFFFF
##585FD91.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #585fd9;
/* rgb */ color: rgb(88, 95, 217);
/* oklch */ color: oklch(54.8% 0.184 276.0);
Tailwind
colors: {
  custom: {
    50: '#938ce6',
    500: '#585fd9',
    950: '#000000',
  },
}
SCSS
$custom: #585fd9;
$custom-light: #938ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#585fd9",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 236.744,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54768,
    "c": 0.18368,
    "h": 276
  },
  "luminance": 0.15269
}

Semantic roles & 50–950 ramp

primary
#585FD9
secondary
#DFDDAD
accent
#DD42E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #585FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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