#585AB5#585AB5

#585AB5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.141 H 279.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#585AB5
RGBrgb(88, 90, 181)
HSLhsl(239, 39%, 53%)
HSVhsv(239, 51%, 71%)
CMYKcmyk(51.4%, 50.3%, 0%, 29%)
CIE-LABlab(42.34, 24.71, -48.74)
CIE-LCHlch(42.34, 54.64, 296.89°)
OKLaboklab(51.27% 0.0226 -0.1389)
OKLCHoklch(51.27% 0.141 279.3)
XYZxyz(16.0186, 12.7223, 45.3187)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585AB5 #B5B358
analogous
#5888B5 #585AB5 #8558B5
triadic
#585AB5 #B5585A #5AB558
tetradic
#585AB5 #B55888 #B5B358 #58B585
square
#585AB5 #B55888 #B5B358 #58B585
split-complementary
#585AB5 #B58558 #88B558
monochromatic
#2D2E66 #404290 #585AB5 #8284C8 #ADAEDB

Accessibility & contrast

On white

5.92
#585AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#585AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585AB5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585AB5#FFFFFF#000000##FFFFFF
##585AB51.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E68B8
Deuteranopia (green-blind)
#2560B3
Tritanopia (blue-blind)
#326E7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #585ab5;
/* rgb */ color: rgb(88, 90, 181);
/* oklch */ color: oklch(51.3% 0.141 279.3);
Tailwind
colors: {
  custom: {
    50: '#8e88cc',
    500: '#585ab5',
    950: '#000000',
  },
}
SCSS
$custom: #585ab5;
$custom-light: #8e88cc;
$custom-dark: #000000;
JSON
{
  "hex": "#585ab5",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 181
  },
  "hsl": {
    "h": 238.71,
    "s": 38.589,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51265,
    "c": 0.14073,
    "h": 279.3
  },
  "luminance": 0.12723
}

Semantic roles & 50–950 ramp

primary
#585AB5
secondary
#C9C8A0
accent
#CC59CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #585AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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