#585AAB#585AAB

#585AAB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.126 H 279.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#585AAB
RGBrgb(88, 90, 171)
HSLhsl(239, 33%, 51%)
HSVhsv(239, 49%, 67%)
CMYKcmyk(48.5%, 47.4%, 0%, 32.9%)
CIE-LABlab(41.73, 21.54, -43.83)
CIE-LCHlch(41.73, 48.84, 296.17°)
OKLaboklab(50.61% 0.0215 -0.1245)
OKLCHoklch(50.61% 0.126 279.8)
XYZxyz(15.0291, 12.3265, 40.1075)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585AAB #ABA958
analogous
#5883AB #585AAB #7F58AB
triadic
#585AAB #AB585A #5AAB58
tetradic
#585AAB #AB5883 #ABA958 #58AB7F
square
#585AAB #AB5883 #ABA958 #58AB7F
split-complementary
#585AAB #AB7F58 #83AB58
monochromatic
#2E2F5B #424484 #585AAB #8182BF #A9AAD4

Accessibility & contrast

On white

6.06
#585AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#585AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585AAB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585AAB#FFFFFF#000000##FFFFFF
##585AAB1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3866AE
Deuteranopia (green-blind)
#315FA9
Tritanopia (blue-blind)
#3A6B7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #585aab;
/* rgb */ color: rgb(88, 90, 171);
/* oklch */ color: oklch(50.6% 0.126 279.8);
Tailwind
colors: {
  custom: {
    50: '#8c88c4',
    500: '#585aab',
    950: '#000000',
  },
}
SCSS
$custom: #585aab;
$custom-light: #8c88c4;
$custom-dark: #000000;
JSON
{
  "hex": "#585aab",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 171
  },
  "hsl": {
    "h": 238.554,
    "s": 33.068,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50606,
    "c": 0.12635,
    "h": 279.8
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#585AAB
secondary
#C2C19D
accent
#C75FC9
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #585AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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