#585AB9#585AB9

#585AB9 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.146 H 279.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#585AB9
RGBrgb(88, 90, 185)
HSLhsl(239, 41%, 54%)
HSVhsv(239, 52%, 73%)
CMYKcmyk(52.4%, 51.4%, 0%, 27.5%)
CIE-LABlab(42.60, 25.99, -50.67)
CIE-LCHlch(42.60, 56.95, 297.15°)
OKLaboklab(51.54% 0.023 -0.1446)
OKLCHoklch(51.54% 0.146 279)
XYZxyz(16.4349, 12.8888, 47.5113)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585AB9 #B9B758
analogous
#588AB9 #585AB9 #8658B9
triadic
#585AB9 #B9585A #5AB958
tetradic
#585AB9 #B9588A #B9B758 #58B986
square
#585AB9 #B9588A #B9B758 #58B986
split-complementary
#585AB9 #B98658 #8AB958
monochromatic
#2C2E6A #3F4095 #585AB9 #8385CB #AEAFDD

Accessibility & contrast

On white

5.87
#585AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#585AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585AB9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585AB9#FFFFFF#000000##FFFFFF
##585AB91.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A68BC
Deuteranopia (green-blind)
#1E61B7
Tritanopia (blue-blind)
#2F6F81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #585ab9;
/* rgb */ color: rgb(88, 90, 185);
/* oklch */ color: oklch(51.5% 0.146 279.0);
Tailwind
colors: {
  custom: {
    50: '#8e88cf',
    500: '#585ab9',
    950: '#000000',
  },
}
SCSS
$custom: #585ab9;
$custom-light: #8e88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#585ab9",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 185
  },
  "hsl": {
    "h": 238.763,
    "s": 40.928,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51537,
    "c": 0.14639,
    "h": 279
  },
  "luminance": 0.1289
}

Semantic roles & 50–950 ramp

primary
#585AB9
secondary
#CBCAA2
accent
#CE57D1
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #585AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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