#585EC5#585EC5

#585EC5 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.1% C 0.158 H 277.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#585EC5
RGBrgb(88, 94, 197)
HSLhsl(237, 48%, 56%)
HSVhsv(237, 55%, 77%)
CMYKcmyk(55.3%, 52.3%, 0%, 22.7%)
CIE-LABlab(44.39, 27.37, -54.76)
CIE-LCHlch(44.39, 61.21, 296.56°)
OKLaboklab(53.13% 0.0194 -0.1566)
OKLCHoklch(53.13% 0.158 277.1)
XYZxyz(18.1020, 14.1101, 54.5821)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585EC5 #C5BF58
analogous
#5894C5 #585EC5 #8858C5
triadic
#585EC5 #C5585E #5EC558
tetradic
#585EC5 #C55894 #C5BF58 #58C588
square
#585EC5 #C55894 #C5BF58 #58C588
split-complementary
#585EC5 #C58858 #94C558
monochromatic
#2A2E79 #3A40A6 #585EC5 #858AD5 #B3B6E5

Accessibility & contrast

On white

5.49
#585EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#585EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585EC5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585EC5#FFFFFF#000000##FFFFFF
##585EC51.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256EC9
Deuteranopia (green-blind)
#0F65C3
Tritanopia (blue-blind)
#207588
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #585ec5;
/* rgb */ color: rgb(88, 94, 197);
/* oklch */ color: oklch(53.1% 0.158 277.1);
Tailwind
colors: {
  custom: {
    50: '#908bd7',
    500: '#585ec5',
    950: '#000000',
  },
}
SCSS
$custom: #585ec5;
$custom-light: #908bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#585ec5",
  "rgb": {
    "r": 88,
    "g": 94,
    "b": 197
  },
  "hsl": {
    "h": 236.697,
    "s": 48.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53134,
    "c": 0.15776,
    "h": 277.1
  },
  "luminance": 0.14111
}

Semantic roles & 50–950 ramp

primary
#585EC5
secondary
#D3D0A6
accent
#D150D8
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #585EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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