#585AEF#585AEF

#585AEF is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.6% C 0.218 H 276.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#585AEF
RGBrgb(88, 90, 239)
HSLhsl(239, 83%, 64%)
HSVhsv(239, 63%, 94%)
CMYKcmyk(63.2%, 62.3%, 0%, 6.3%)
CIE-LABlab(46.47, 43.47, -75.31)
CIE-LCHlch(46.47, 86.96, 299.99°)
OKLaboklab(55.63% 0.0231 -0.217)
OKLCHoklch(55.63% 0.218 276.1)
XYZxyz(23.2556, 15.6171, 83.4335)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585AEF #EFED58
analogous
#58A6EF #585AEF #A258EF
triadic
#585AEF #EF585A #5AEF58
tetradic
#585AEF #EF58A6 #EFED58 #58EFA2
square
#585AEF #EF58A6 #EFED58 #58EFA2
split-complementary
#585AEF #EFA258 #A6EF58
monochromatic
#1214BB #2023EA #585AEF #9091F4 #C8C8FA

Accessibility & contrast

On white

5.09
#585AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#585AEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585AEF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585AEF#FFFFFF#000000##FFFFFF
##585AEF1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#0067EC
Tritanopia (blue-blind)
#00809C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #585aef;
/* rgb */ color: rgb(88, 90, 239);
/* oklch */ color: oklch(55.6% 0.218 276.1);
Tailwind
colors: {
  custom: {
    50: '#9789f5',
    500: '#585aef',
    950: '#000000',
  },
}
SCSS
$custom: #585aef;
$custom-light: #9789f5;
$custom-dark: #000000;
JSON
{
  "hex": "#585aef",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 239.205,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55629,
    "c": 0.21826,
    "h": 276.1
  },
  "luminance": 0.15619
}

Semantic roles & 50–950 ramp

primary
#585AEF
secondary
#ECEBB7
accent
#DC07DF
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #585AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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