#585AEB#585AEB

#585AEB is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.3% C 0.213 H 276.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#585AEB
RGBrgb(88, 90, 235)
HSLhsl(239, 79%, 63%)
HSVhsv(239, 63%, 92%)
CMYKcmyk(62.6%, 61.7%, 0%, 7.8%)
CIE-LABlab(46.15, 42.18, -73.57)
CIE-LCHlch(46.15, 84.81, 299.82°)
OKLaboklab(55.3% 0.0233 -0.2119)
OKLCHoklch(55.3% 0.213 276.3)
XYZxyz(22.6712, 15.3833, 80.3557)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585AEB #EBE958
analogous
#58A3EB #585AEB #9F58EB
triadic
#585AEB #EB585A #5AEB58
tetradic
#585AEB #EB58A3 #EBE958 #58EB9F
square
#585AEB #EB58A3 #EBE958 #58EB9F
split-complementary
#585AEB #EB9F58 #A3EB58
monochromatic
#1518B3 #2124E4 #585AEB #8F90F2 #C5C6F8

Accessibility & contrast

On white

5.15
#585AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#585AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585AEB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585AEB#FFFFFF#000000##FFFFFF
##585AEB1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0067E8
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #585aeb;
/* rgb */ color: rgb(88, 90, 235);
/* oklch */ color: oklch(55.3% 0.213 276.3);
Tailwind
colors: {
  custom: {
    50: '#9689f2',
    500: '#585aeb',
    950: '#000000',
  },
}
SCSS
$custom: #585aeb;
$custom-light: #9689f2;
$custom-dark: #000000;
JSON
{
  "hex": "#585aeb",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 239.184,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55302,
    "c": 0.21321,
    "h": 276.3
  },
  "luminance": 0.15385
}

Semantic roles & 50–950 ramp

primary
#585AEB
secondary
#EAE9B5
accent
#D80BDB
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #585AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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