#585DC4#585DC4

#585DC4 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.9% C 0.158 H 277.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#585DC4
RGBrgb(88, 93, 196)
HSLhsl(237, 48%, 56%)
HSVhsv(237, 55%, 77%)
CMYKcmyk(55.1%, 52.6%, 0%, 23.1%)
CIE-LABlab(44.07, 27.67, -54.69)
CIE-LCHlch(44.07, 61.29, 296.83°)
OKLaboklab(52.87% 0.0205 -0.1564)
OKLCHoklch(52.87% 0.158 277.5)
XYZxyz(17.8995, 13.8877, 53.9512)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585DC4 #C4BF58
analogous
#5893C4 #585DC4 #8958C4
triadic
#585DC4 #C4585D #5DC458
tetradic
#585DC4 #C45893 #C4BF58 #58C489
square
#585DC4 #C45893 #C4BF58 #58C489
split-complementary
#585DC4 #C48958 #93C458
monochromatic
#2A2E77 #3A3FA5 #585DC4 #8589D4 #B2B5E4

Accessibility & contrast

On white

5.56
#585DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#585DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585DC4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585DC4#FFFFFF#000000##FFFFFF
##585DC41.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236DC8
Deuteranopia (green-blind)
#0E64C2
Tritanopia (blue-blind)
#217487
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #585dc4;
/* rgb */ color: rgb(88, 93, 196);
/* oklch */ color: oklch(52.9% 0.158 277.5);
Tailwind
colors: {
  custom: {
    50: '#908ad6',
    500: '#585dc4',
    950: '#000000',
  },
}
SCSS
$custom: #585dc4;
$custom-light: #908ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#585dc4",
  "rgb": {
    "r": 88,
    "g": 93,
    "b": 196
  },
  "hsl": {
    "h": 237.222,
    "s": 47.788,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52873,
    "c": 0.15771,
    "h": 277.5
  },
  "luminance": 0.13889
}

Semantic roles & 50–950 ramp

primary
#585DC4
secondary
#D2D0A5
accent
#D150D7
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #585DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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