#585CA5#585CA5

#585CA5 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.6% C 0.115 H 279.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#585CA5
RGBrgb(88, 92, 165)
HSLhsl(237, 30%, 50%)
HSVhsv(237, 47%, 65%)
CMYKcmyk(46.7%, 44.2%, 0%, 35.3%)
CIE-LABlab(41.91, 18.40, -39.99)
CIE-LCHlch(41.91, 44.02, 294.70°)
OKLaboklab(50.63% 0.0181 -0.1132)
OKLCHoklch(50.63% 0.115 279.1)
XYZxyz(14.6411, 12.4449, 37.2206)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CA5 #A5A158
analogous
#5883A5 #585CA5 #7B58A5
triadic
#585CA5 #A5585C #5CA558
tetradic
#585CA5 #A55883 #A5A158 #58A57B
square
#585CA5 #A55883 #A5A158 #58A57B
split-complementary
#585CA5 #A57B58 #83A558
monochromatic
#2D2F55 #43467D #585CA5 #7F82BB #A7A9D0

Accessibility & contrast

On white

6.02
#585CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#585CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CA5
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CA5#FFFFFF#000000##FFFFFF
##585CA51.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F66A8
Deuteranopia (green-blind)
#3A60A3
Tritanopia (blue-blind)
#3D6B78
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #585ca5;
/* rgb */ color: rgb(88, 92, 165);
/* oklch */ color: oklch(50.6% 0.115 279.1);
Tailwind
colors: {
  custom: {
    50: '#8b8ac0',
    500: '#585ca5',
    950: '#000000',
  },
}
SCSS
$custom: #585ca5;
$custom-light: #8b8ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#585ca5",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 165
  },
  "hsl": {
    "h": 236.883,
    "s": 30.435,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50633,
    "c": 0.11466,
    "h": 279.1
  },
  "luminance": 0.12446
}

Semantic roles & 50–950 ramp

primary
#585CA5
secondary
#BEBC9B
accent
#C161C7
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #585CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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