#585FD5#585FD5

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

Color values

HEX#585FD5
RGBrgb(88, 95, 213)
HSLhsl(237, 60%, 59%)
HSVhsv(237, 59%, 84%)
CMYKcmyk(58.7%, 55.4%, 0%, 16.5%)
CIE-LABlab(45.72, 31.98, -61.80)
CIE-LCHlch(45.72, 69.59, 297.36°)
OKLaboklab(54.47% 0.0192 -0.1773)
OKLCHoklch(54.47% 0.178 276.2)
XYZxyz(20.1231, 15.0617, 64.7847)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FD5 #D5CE58
analogous
#589ED5 #585FD5 #9058D5
triadic
#585FD5 #D5585F #5FD558
tetradic
#585FD5 #D5589E #D5CE58 #58D590
square
#585FD5 #D5589E #D5CE58 #58D590
split-complementary
#585FD5 #D59058 #9ED558
monochromatic
#242A8F #3038C0 #585FD5 #898EE1 #BABDEE

Accessibility & contrast

On white

5.23
#585FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#585FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FD5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FD5#FFFFFF#000000##FFFFFF
##585FD51.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #585fd5;
/* rgb */ color: rgb(88, 95, 213);
/* oklch */ color: oklch(54.5% 0.178 276.2);
Tailwind
colors: {
  custom: {
    50: '#928ce3',
    500: '#585fd5',
    950: '#000000',
  },
}
SCSS
$custom: #585fd5;
$custom-light: #928ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#585fd5",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 236.64,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54471,
    "c": 0.17832,
    "h": 276.2
  },
  "luminance": 0.15063
}

Semantic roles & 50–950 ramp

primary
#585FD5
secondary
#DDDAAC
accent
#DA45E3
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #585FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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