#585CD4#585CD4

#585CD4 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.181 H 277.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#585CD4
RGBrgb(88, 92, 212)
HSLhsl(238, 59%, 59%)
HSVhsv(238, 58%, 83%)
CMYKcmyk(58.5%, 56.6%, 0%, 16.9%)
CIE-LABlab(44.91, 33.49, -62.53)
CIE-LCHlch(44.91, 70.94, 298.17°)
OKLaboklab(53.85% 0.0221 -0.1795)
OKLCHoklch(53.85% 0.181 277)
XYZxyz(19.7315, 14.4810, 64.0299)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CD4 #D4D058
analogous
#589AD4 #585CD4 #9258D4
triadic
#585CD4 #D4585C #5CD458
tetradic
#585CD4 #D4589A #D4D058 #58D492
square
#585CD4 #D4589A #D4D058 #58D492
split-complementary
#585CD4 #D49258 #9AD458
monochromatic
#24288D #3135BE #585CD4 #898CE1 #B9BBED

Accessibility & contrast

On white

5.39
#585CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#585CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CD4
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CD4#FFFFFF#000000##FFFFFF
##585CD41.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #585cd4;
/* rgb */ color: rgb(88, 92, 212);
/* oklch */ color: oklch(53.8% 0.181 277.0);
Tailwind
colors: {
  custom: {
    50: '#928ae2',
    500: '#585cd4',
    950: '#000000',
  },
}
SCSS
$custom: #585cd4;
$custom-light: #928ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#585cd4",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 238.065,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.18082,
    "h": 277
  },
  "luminance": 0.14482
}

Semantic roles & 50–950 ramp

primary
#585CD4
secondary
#DCDBAB
accent
#DD46E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #585CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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