#585CD9#585CD9

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

Color values

HEX#585CD9
RGBrgb(88, 92, 217)
HSLhsl(238, 63%, 60%)
HSVhsv(238, 59%, 85%)
CMYKcmyk(59.4%, 57.6%, 0%, 14.9%)
CIE-LABlab(45.27, 35.12, -64.81)
CIE-LCHlch(45.27, 73.72, 298.46°)
OKLaboklab(54.23% 0.0221 -0.1862)
OKLCHoklch(54.23% 0.187 276.8)
XYZxyz(20.3720, 14.7372, 67.4032)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CD9 #D9D558
analogous
#589CD9 #585CD9 #9558D9
triadic
#585CD9 #D9585C #5CD958
tetradic
#585CD9 #D9589C #D9D558 #58D995
square
#585CD9 #D9589C #D9D558 #58D995
split-complementary
#585CD9 #D99558 #9CD958
monochromatic
#222595 #2D32C7 #585CD9 #8A8DE4 #BCBDF0

Accessibility & contrast

On white

5.32
#585CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#585CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CD9
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CD9#FFFFFF#000000##FFFFFF
##585CD91.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#007A92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #585cd9;
/* rgb */ color: rgb(88, 92, 217);
/* oklch */ color: oklch(54.2% 0.187 276.8);
Tailwind
colors: {
  custom: {
    50: '#938ae6',
    500: '#585cd9',
    950: '#000000',
  },
}
SCSS
$custom: #585cd9;
$custom-light: #938ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#585cd9",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 238.14,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54228,
    "c": 0.18747,
    "h": 276.8
  },
  "luminance": 0.14739
}

Semantic roles & 50–950 ramp

primary
#585CD9
secondary
#DFDEAD
accent
#E142E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #585CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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