#585FD8#585FD8

#585FD8 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.7% C 0.182 H 276.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#585FD8
RGBrgb(88, 95, 216)
HSLhsl(237, 62%, 60%)
HSVhsv(237, 59%, 85%)
CMYKcmyk(59.3%, 56%, 0%, 15.3%)
CIE-LABlab(45.93, 32.96, -63.18)
CIE-LCHlch(45.93, 71.26, 297.55°)
OKLaboklab(54.69% 0.0193 -0.1813)
OKLCHoklch(54.69% 0.182 276.1)
XYZxyz(20.5074, 15.2154, 66.8086)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FD8 #D8D158
analogous
#589FD8 #585FD8 #9158D8
triadic
#585FD8 #D8585F #5FD858
tetradic
#585FD8 #D8589F #D8D158 #58D891
square
#585FD8 #D8589F #D8D158 #58D891
split-complementary
#585FD8 #D89158 #9FD858
monochromatic
#222993 #2E36C5 #585FD8 #8A8FE4 #BBBEEF

Accessibility & contrast

On white

5.19
#585FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#585FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FD8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FD8#FFFFFF#000000##FFFFFF
##585FD81.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #585fd8;
/* rgb */ color: rgb(88, 95, 216);
/* oklch */ color: oklch(54.7% 0.182 276.1);
Tailwind
colors: {
  custom: {
    50: '#938ce5',
    500: '#585fd8',
    950: '#000000',
  },
}
SCSS
$custom: #585fd8;
$custom-light: #938ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#585fd8",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 236.719,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54693,
    "c": 0.18235,
    "h": 276.1
  },
  "luminance": 0.15217
}

Semantic roles & 50–950 ramp

primary
#585FD8
secondary
#DFDCAD
accent
#DC43E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #585FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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