#585BD8#585BD8

#585BD8 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.0% C 0.187 H 277.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#585BD8
RGBrgb(88, 91, 216)
HSLhsl(239, 62%, 60%)
HSVhsv(239, 59%, 85%)
CMYKcmyk(59.3%, 57.9%, 0%, 15.3%)
CIE-LABlab(44.96, 35.41, -64.75)
CIE-LCHlch(44.96, 73.80, 298.67°)
OKLaboklab(53.97% 0.023 -0.186)
OKLCHoklch(53.97% 0.187 277.1)
XYZxyz(20.1563, 14.5132, 66.6916)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585BD8 #D8D558
analogous
#589BD8 #585BD8 #9558D8
triadic
#585BD8 #D8585B #5BD858
tetradic
#585BD8 #D8589B #D8D558 #58D895
square
#585BD8 #D8589B #D8D558 #58D895
split-complementary
#585BD8 #D89558 #9BD858
monochromatic
#222593 #2E32C5 #585BD8 #8A8CE4 #BBBCEF

Accessibility & contrast

On white

5.38
#585BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#585BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585BD8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585BD8#FFFFFF#000000##FFFFFF
##585BD81.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#007991
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #585bd8;
/* rgb */ color: rgb(88, 91, 216);
/* oklch */ color: oklch(54.0% 0.187 277.1);
Tailwind
colors: {
  custom: {
    50: '#9389e5',
    500: '#585bd8',
    950: '#000000',
  },
}
SCSS
$custom: #585bd8;
$custom-light: #9389e5;
$custom-dark: #000000;
JSON
{
  "hex": "#585bd8",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 216
  },
  "hsl": {
    "h": 238.594,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53974,
    "c": 0.1874,
    "h": 277.1
  },
  "luminance": 0.14515
}

Semantic roles & 50–950 ramp

primary
#585BD8
secondary
#DFDEAD
accent
#E143E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #585BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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