#585CC2#585CC2

#585CC2 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.5% C 0.156 H 277.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#585CC2
RGBrgb(88, 92, 194)
HSLhsl(238, 46%, 55%)
HSVhsv(238, 55%, 76%)
CMYKcmyk(54.6%, 52.6%, 0%, 23.9%)
CIE-LABlab(43.69, 27.64, -54.15)
CIE-LCHlch(43.69, 60.80, 297.04°)
OKLaboklab(52.54% 0.0214 -0.1548)
OKLCHoklch(52.54% 0.156 277.9)
XYZxyz(17.5862, 13.6229, 52.7313)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CC2 #C2BE58
analogous
#5891C2 #585CC2 #8958C2
triadic
#585CC2 #C2585C #5CC258
tetradic
#585CC2 #C25891 #C2BE58 #58C289
square
#585CC2 #C25891 #C2BE58 #58C289
split-complementary
#585CC2 #C28958 #91C258
monochromatic
#2B2D75 #3B3FA2 #585CC2 #8588D2 #B2B4E3

Accessibility & contrast

On white

5.64
#585CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#585CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CC2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CC2#FFFFFF#000000##FFFFFF
##585CC21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236CC6
Deuteranopia (green-blind)
#0F63C0
Tritanopia (blue-blind)
#247386
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #585cc2;
/* rgb */ color: rgb(88, 92, 194);
/* oklch */ color: oklch(52.5% 0.156 277.9);
Tailwind
colors: {
  custom: {
    50: '#8f8ad5',
    500: '#585cc2',
    950: '#000000',
  },
}
SCSS
$custom: #585cc2;
$custom-light: #8f8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#585cc2",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 237.736,
    "s": 46.491,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52543,
    "c": 0.15627,
    "h": 277.9
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

primary
#585CC2
secondary
#D1CFA5
accent
#D152D6
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #585CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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