#585ED5#585ED5

#585ED5 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.180 H 276.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#585ED5
RGBrgb(88, 94, 213)
HSLhsl(237, 60%, 59%)
HSVhsv(237, 59%, 84%)
CMYKcmyk(58.7%, 55.9%, 0%, 16.5%)
CIE-LABlab(45.47, 32.59, -62.20)
CIE-LCHlch(45.47, 70.22, 297.65°)
OKLaboklab(54.29% 0.0202 -0.1785)
OKLCHoklch(54.29% 0.18 276.4)
XYZxyz(20.0336, 14.8827, 64.7548)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585ED5 #D5CF58
analogous
#589DD5 #585ED5 #9158D5
triadic
#585ED5 #D5585E #5ED558
tetradic
#585ED5 #D5589D #D5CF58 #58D591
square
#585ED5 #D5589D #D5CF58 #58D591
split-complementary
#585ED5 #D59158 #9DD558
monochromatic
#24298F #3037C0 #585ED5 #898DE1 #BABCEE

Accessibility & contrast

On white

5.28
#585ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#585ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585ED5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585ED5#FFFFFF#000000##FFFFFF
##585ED51.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #585ed5;
/* rgb */ color: rgb(88, 94, 213);
/* oklch */ color: oklch(54.3% 0.180 276.4);
Tailwind
colors: {
  custom: {
    50: '#928be3',
    500: '#585ed5',
    950: '#000000',
  },
}
SCSS
$custom: #585ed5;
$custom-light: #928be3;
$custom-dark: #000000;
JSON
{
  "hex": "#585ed5",
  "rgb": {
    "r": 88,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 237.12,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54288,
    "c": 0.1796,
    "h": 276.4
  },
  "luminance": 0.14884
}

Semantic roles & 50–950 ramp

primary
#585ED5
secondary
#DDDBAC
accent
#DB45E3
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #585ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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