#585CD2#585CD2

#585CD2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.7% C 0.178 H 277.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#585CD2
RGBrgb(88, 92, 210)
HSLhsl(238, 58%, 58%)
HSVhsv(238, 58%, 82%)
CMYKcmyk(58.1%, 56.2%, 0%, 17.6%)
CIE-LABlab(44.77, 32.84, -61.62)
CIE-LCHlch(44.77, 69.82, 298.06°)
OKLaboklab(53.7% 0.022 -0.1768)
OKLCHoklch(53.7% 0.178 277.1)
XYZxyz(19.4808, 14.3807, 62.7095)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CD2 #D2CE58
analogous
#5899D2 #585CD2 #9158D2
triadic
#585CD2 #D2585C #5CD258
tetradic
#585CD2 #D25899 #D2CE58 #58D291
square
#585CD2 #D25899 #D2CE58 #58D291
split-complementary
#585CD2 #D29158 #99D258
monochromatic
#25298A #3237BB #585CD2 #888BDF #B8BAEC

Accessibility & contrast

On white

5.42
#585CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#585CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CD2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CD2#FFFFFF#000000##FFFFFF
##585CD21.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#00788E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #585cd2;
/* rgb */ color: rgb(88, 92, 210);
/* oklch */ color: oklch(53.7% 0.178 277.1);
Tailwind
colors: {
  custom: {
    50: '#928ae1',
    500: '#585cd2',
    950: '#000000',
  },
}
SCSS
$custom: #585cd2;
$custom-light: #928ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#585cd2",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 238.033,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53701,
    "c": 0.17814,
    "h": 277.1
  },
  "luminance": 0.14382
}

Semantic roles & 50–950 ramp

primary
#585CD2
secondary
#DBDAAB
accent
#DC47E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #585CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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