#585FD6#585FD6

#585FD6 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.5% C 0.180 H 276.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#585FD6
RGBrgb(88, 95, 214)
HSLhsl(237, 61%, 59%)
HSVhsv(237, 59%, 84%)
CMYKcmyk(58.9%, 55.6%, 0%, 16.1%)
CIE-LABlab(45.79, 32.30, -62.26)
CIE-LCHlch(45.79, 70.14, 297.42°)
OKLaboklab(54.55% 0.0192 -0.1786)
OKLCHoklch(54.55% 0.18 276.1)
XYZxyz(20.2504, 15.1126, 65.4552)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FD6 #D6CF58
analogous
#589ED6 #585FD6 #9058D6
triadic
#585FD6 #D6585F #5FD658
tetradic
#585FD6 #D6589E #D6CF58 #58D690
square
#585FD6 #D6589E #D6CF58 #58D690
split-complementary
#585FD6 #D69058 #9ED658
monochromatic
#232990 #2F38C1 #585FD6 #898EE2 #BABDEE

Accessibility & contrast

On white

5.22
#585FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#585FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FD6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FD6#FFFFFF#000000##FFFFFF
##585FD61.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#0067D4
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #585fd6;
/* rgb */ color: rgb(88, 95, 214);
/* oklch */ color: oklch(54.5% 0.180 276.1);
Tailwind
colors: {
  custom: {
    50: '#928ce3',
    500: '#585fd6',
    950: '#000000',
  },
}
SCSS
$custom: #585fd6;
$custom-light: #928ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#585fd6",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 236.667,
    "s": 60.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54545,
    "c": 0.17967,
    "h": 276.1
  },
  "luminance": 0.15114
}

Semantic roles & 50–950 ramp

primary
#585FD6
secondary
#DEDBAC
accent
#DB44E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #585FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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