#585BEF#585BEF

#585BEF is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.8% C 0.217 H 275.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#585BEF
RGBrgb(88, 91, 239)
HSLhsl(239, 83%, 64%)
HSVhsv(239, 63%, 94%)
CMYKcmyk(63.2%, 61.9%, 0%, 6.3%)
CIE-LABlab(46.69, 42.88, -74.94)
CIE-LCHlch(46.69, 86.34, 299.77°)
OKLaboklab(55.79% 0.0223 -0.2159)
OKLCHoklch(55.79% 0.217 275.9)
XYZxyz(23.3405, 15.7869, 83.4618)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585BEF #EFEC58
analogous
#58A7EF #585BEF #A158EF
triadic
#585BEF #EF585B #5BEF58
tetradic
#585BEF #EF58A7 #EFEC58 #58EFA1
square
#585BEF #EF58A7 #EFEC58 #58EFA1
split-complementary
#585BEF #EFA158 #A7EF58
monochromatic
#1215BB #2024EA #585BEF #9092F4 #C8C9FA

Accessibility & contrast

On white

5.05
#585BEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#585BEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585BEF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585BEF#FFFFFF#000000##FFFFFF
##585BEF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#0068EC
Tritanopia (blue-blind)
#00809D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #585bef;
/* rgb */ color: rgb(88, 91, 239);
/* oklch */ color: oklch(55.8% 0.217 275.9);
Tailwind
colors: {
  custom: {
    50: '#978af5',
    500: '#585bef',
    950: '#000000',
  },
}
SCSS
$custom: #585bef;
$custom-light: #978af5;
$custom-dark: #000000;
JSON
{
  "hex": "#585bef",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 238.808,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55794,
    "c": 0.2171,
    "h": 275.9
  },
  "luminance": 0.15789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #585BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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