#585DD4#585DD4

#585DD4 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.180 H 276.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#585DD4
RGBrgb(88, 93, 212)
HSLhsl(238, 59%, 59%)
HSVhsv(238, 58%, 83%)
CMYKcmyk(58.5%, 56.1%, 0%, 16.9%)
CIE-LABlab(45.16, 32.88, -62.14)
CIE-LCHlch(45.16, 70.30, 297.88°)
OKLaboklab(54.03% 0.0211 -0.1783)
OKLCHoklch(54.03% 0.18 276.7)
XYZxyz(19.8187, 14.6554, 64.0590)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585DD4 #D4CF58
analogous
#589BD4 #585DD4 #9158D4
triadic
#585DD4 #D4585D #5DD458
tetradic
#585DD4 #D4589B #D4CF58 #58D491
square
#585DD4 #D4589B #D4CF58 #58D491
split-complementary
#585DD4 #D49158 #9BD458
monochromatic
#24298D #3137BE #585DD4 #898CE1 #B9BBED

Accessibility & contrast

On white

5.34
#585DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#585DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585DD4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585DD4#FFFFFF#000000##FFFFFF
##585DD41.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #585dd4;
/* rgb */ color: rgb(88, 93, 212);
/* oklch */ color: oklch(54.0% 0.180 276.7);
Tailwind
colors: {
  custom: {
    50: '#928be2',
    500: '#585dd4',
    950: '#000000',
  },
}
SCSS
$custom: #585dd4;
$custom-light: #928be2;
$custom-dark: #000000;
JSON
{
  "hex": "#585dd4",
  "rgb": {
    "r": 88,
    "g": 93,
    "b": 212
  },
  "hsl": {
    "h": 237.581,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54031,
    "c": 0.17954,
    "h": 276.7
  },
  "luminance": 0.14657
}

Semantic roles & 50–950 ramp

primary
#585DD4
secondary
#DCDAAB
accent
#DC46E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #585DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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