#585ED4#585ED4

#585ED4 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.2% C 0.178 H 276.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#585ED4
RGBrgb(88, 94, 212)
HSLhsl(237, 59%, 59%)
HSVhsv(237, 58%, 83%)
CMYKcmyk(58.5%, 55.7%, 0%, 16.9%)
CIE-LABlab(45.40, 32.26, -61.74)
CIE-LCHlch(45.40, 69.66, 297.59°)
OKLaboklab(54.21% 0.0201 -0.1771)
OKLCHoklch(54.21% 0.178 276.5)
XYZxyz(19.9070, 14.8321, 64.0884)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585ED4 #D4CE58
analogous
#589CD4 #585ED4 #9058D4
triadic
#585ED4 #D4585E #5ED458
tetradic
#585ED4 #D4589C #D4CE58 #58D490
square
#585ED4 #D4589C #D4CE58 #58D490
split-complementary
#585ED4 #D49058 #9CD458
monochromatic
#24298D #3138BE #585ED4 #898DE1 #B9BCED

Accessibility & contrast

On white

5.29
#585ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#585ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585ED4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585ED4#FFFFFF#000000##FFFFFF
##585ED41.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #585ed4;
/* rgb */ color: rgb(88, 94, 212);
/* oklch */ color: oklch(54.2% 0.178 276.5);
Tailwind
colors: {
  custom: {
    50: '#928be2',
    500: '#585ed4',
    950: '#000000',
  },
}
SCSS
$custom: #585ed4;
$custom-light: #928be2;
$custom-dark: #000000;
JSON
{
  "hex": "#585ed4",
  "rgb": {
    "r": 88,
    "g": 94,
    "b": 212
  },
  "hsl": {
    "h": 237.097,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54214,
    "c": 0.17826,
    "h": 276.5
  },
  "luminance": 0.14834
}

Semantic roles & 50–950 ramp

primary
#585ED4
secondary
#DCDAAB
accent
#DB46E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #585ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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