#585CD7#585CD7

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

Color values

HEX#585CD7
RGBrgb(88, 92, 215)
HSLhsl(238, 61%, 59%)
HSVhsv(238, 59%, 84%)
CMYKcmyk(59.1%, 57.2%, 0%, 15.7%)
CIE-LABlab(45.13, 34.47, -63.90)
CIE-LCHlch(45.13, 72.61, 298.34°)
OKLaboklab(54.08% 0.0221 -0.1835)
OKLCHoklch(54.08% 0.185 276.9)
XYZxyz(20.1134, 14.6338, 66.0415)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CD7 #D7D358
analogous
#589CD7 #585CD7 #9458D7
triadic
#585CD7 #D7585C #5CD758
tetradic
#585CD7 #D7589C #D7D358 #58D794
square
#585CD7 #D7589C #D7D358 #58D794
split-complementary
#585CD7 #D79458 #9CD758
monochromatic
#232692 #2F33C3 #585CD7 #898CE3 #BBBCEF

Accessibility & contrast

On white

5.35
#585CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#585CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CD7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CD7#FFFFFF#000000##FFFFFF
##585CD71.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #585cd7;
/* rgb */ color: rgb(88, 92, 215);
/* oklch */ color: oklch(54.1% 0.185 276.9);
Tailwind
colors: {
  custom: {
    50: '#938ae4',
    500: '#585cd7',
    950: '#000000',
  },
}
SCSS
$custom: #585cd7;
$custom-light: #938ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#585cd7",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 238.11,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54076,
    "c": 0.18481,
    "h": 276.9
  },
  "luminance": 0.14635
}

Semantic roles & 50–950 ramp

primary
#585CD7
secondary
#DEDDAD
accent
#DF43E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #585CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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