#585ED8#585ED8

#585ED8 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.5% C 0.184 H 276.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#585ED8
RGBrgb(88, 94, 216)
HSLhsl(237, 62%, 60%)
HSVhsv(237, 59%, 85%)
CMYKcmyk(59.3%, 56.5%, 0%, 15.3%)
CIE-LABlab(45.68, 33.57, -63.57)
CIE-LCHlch(45.68, 71.89, 297.84°)
OKLaboklab(54.51% 0.0202 -0.1825)
OKLCHoklch(54.51% 0.184 276.3)
XYZxyz(20.4179, 15.0364, 66.7788)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585ED8 #D8D258
analogous
#589ED8 #585ED8 #9258D8
triadic
#585ED8 #D8585E #5ED858
tetradic
#585ED8 #D8589E #D8D258 #58D892
square
#585ED8 #D8589E #D8D258 #58D892
split-complementary
#585ED8 #D89258 #9ED858
monochromatic
#222893 #2E35C5 #585ED8 #8A8EE4 #BBBEEF

Accessibility & contrast

On white

5.24
#585ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#585ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585ED8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585ED8#FFFFFF#000000##FFFFFF
##585ED81.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #585ed8;
/* rgb */ color: rgb(88, 94, 216);
/* oklch */ color: oklch(54.5% 0.184 276.3);
Tailwind
colors: {
  custom: {
    50: '#938be5',
    500: '#585ed8',
    950: '#000000',
  },
}
SCSS
$custom: #585ed8;
$custom-light: #938be5;
$custom-dark: #000000;
JSON
{
  "hex": "#585ed8",
  "rgb": {
    "r": 88,
    "g": 94,
    "b": 216
  },
  "hsl": {
    "h": 237.188,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54512,
    "c": 0.18361,
    "h": 276.3
  },
  "luminance": 0.15038
}

Semantic roles & 50–950 ramp

primary
#585ED8
secondary
#DFDCAD
accent
#DE43E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #585ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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