#585CC7#585CC7

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

Color values

HEX#585CC7
RGBrgb(88, 92, 199)
HSLhsl(238, 50%, 56%)
HSVhsv(238, 56%, 78%)
CMYKcmyk(55.8%, 53.8%, 0%, 22%)
CIE-LABlab(44.02, 29.26, -56.51)
CIE-LCHlch(44.02, 63.64, 297.38°)
OKLaboklab(52.9% 0.0217 -0.1617)
OKLCHoklch(52.9% 0.163 277.6)
XYZxyz(18.1572, 13.8513, 55.7385)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CC7 #C7C358
analogous
#5894C7 #585CC7 #8C58C7
triadic
#585CC7 #C7585C #5CC758
tetradic
#585CC7 #C75894 #C7C358 #58C78C
square
#585CC7 #C75894 #C7C358 #58C78C
split-complementary
#585CC7 #C78C58 #94C758
monochromatic
#292C7B #393DA9 #585CC7 #8689D6 #B4B5E6

Accessibility & contrast

On white

5.57
#585CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#585CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CC7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CC7#FFFFFF#000000##FFFFFF
##585CC71.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6DCB
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#1D7588
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #585cc7;
/* rgb */ color: rgb(88, 92, 199);
/* oklch */ color: oklch(52.9% 0.163 277.6);
Tailwind
colors: {
  custom: {
    50: '#908ad9',
    500: '#585cc7',
    950: '#000000',
  },
}
SCSS
$custom: #585cc7;
$custom-light: #908ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#585cc7",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 237.838,
    "s": 49.776,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52898,
    "c": 0.16319,
    "h": 277.6
  },
  "luminance": 0.13853
}

Semantic roles & 50–950 ramp

primary
#585CC7
secondary
#D4D3A7
accent
#D44FD9
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #585CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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