#585CB4#585CB4

#585CB4 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.137 H 278.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#585CB4
RGBrgb(88, 92, 180)
HSLhsl(237, 38%, 53%)
HSVhsv(237, 51%, 71%)
CMYKcmyk(51.1%, 48.9%, 0%, 29.4%)
CIE-LABlab(42.80, 23.14, -47.42)
CIE-LCHlch(42.80, 52.76, 296.01°)
OKLaboklab(51.59% 0.0202 -0.135)
OKLCHoklch(51.59% 0.137 278.5)
XYZxyz(16.0873, 13.0233, 44.8372)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CB4 #B4B058
analogous
#588AB4 #585CB4 #8258B4
triadic
#585CB4 #B4585C #5CB458
tetradic
#585CB4 #B4588A #B4B058 #58B482
square
#585CB4 #B4588A #B4B058 #58B482
split-complementary
#585CB4 #B48258 #8AB458
monochromatic
#2D3064 #40448F #585CB4 #8285C7 #ACAEDA

Accessibility & contrast

On white

5.83
#585CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#585CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CB4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CB4#FFFFFF#000000##FFFFFF
##585CB41.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3469B7
Deuteranopia (green-blind)
#2B62B2
Tritanopia (blue-blind)
#336F7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #585cb4;
/* rgb */ color: rgb(88, 92, 180);
/* oklch */ color: oklch(51.6% 0.137 278.5);
Tailwind
colors: {
  custom: {
    50: '#8d8acb',
    500: '#585cb4',
    950: '#000000',
  },
}
SCSS
$custom: #585cb4;
$custom-light: #8d8acb;
$custom-dark: #000000;
JSON
{
  "hex": "#585cb4",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 180
  },
  "hsl": {
    "h": 237.391,
    "s": 38.017,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51589,
    "c": 0.13651,
    "h": 278.5
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#585CB4
secondary
#C8C6A0
accent
#C95ACE
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #585CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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