#585FD1#585FD1

#585FD1 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.2% C 0.173 H 276.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#585FD1
RGBrgb(88, 95, 209)
HSLhsl(237, 57%, 58%)
HSVhsv(237, 58%, 82%)
CMYKcmyk(57.9%, 54.5%, 0%, 18%)
CIE-LABlab(45.44, 30.67, -59.96)
CIE-LCHlch(45.44, 67.35, 297.09°)
OKLaboklab(54.18% 0.0191 -0.1719)
OKLCHoklch(54.18% 0.173 276.3)
XYZxyz(19.6216, 14.8611, 62.1437)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FD1 #D1CA58
analogous
#589BD1 #585FD1 #8D58D1
triadic
#585FD1 #D1585F #5FD158
tetradic
#585FD1 #D1589B #D1CA58 #58D18D
square
#585FD1 #D1589B #D1CA58 #58D18D
split-complementary
#585FD1 #D18D58 #9BD158
monochromatic
#262B89 #333BB9 #585FD1 #888DDE #B8BBEB

Accessibility & contrast

On white

5.29
#585FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#585FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FD1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FD1#FFFFFF#000000##FFFFFF
##585FD11.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F71D5
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #585fd1;
/* rgb */ color: rgb(88, 95, 209);
/* oklch */ color: oklch(54.2% 0.173 276.3);
Tailwind
colors: {
  custom: {
    50: '#918ce0',
    500: '#585fd1',
    950: '#000000',
  },
}
SCSS
$custom: #585fd1;
$custom-light: #918ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#585fd1",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 209
  },
  "hsl": {
    "h": 236.529,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54178,
    "c": 0.17292,
    "h": 276.3
  },
  "luminance": 0.14863
}

Semantic roles & 50–950 ramp

primary
#585FD1
secondary
#DAD8AA
accent
#D748E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #585FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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