#585AAA#585AAA

#585AAA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.125 H 279.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#585AAA
RGBrgb(88, 90, 170)
HSLhsl(239, 33%, 51%)
HSVhsv(239, 48%, 67%)
CMYKcmyk(48.2%, 47.1%, 0%, 33.3%)
CIE-LABlab(41.67, 21.22, -43.34)
CIE-LCHlch(41.67, 48.25, 296.09°)
OKLaboklab(50.54% 0.0214 -0.123)
OKLCHoklch(50.54% 0.125 279.9)
XYZxyz(14.9342, 12.2885, 39.6074)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585AAA #AAA858
analogous
#5883AA #585AAA #7F58AA
triadic
#585AAA #AA585A #5AAA58
tetradic
#585AAA #AA5883 #AAA858 #58AA7F
square
#585AAA #AA5883 #AAA858 #58AA7F
split-complementary
#585AAA #AA7F58 #83AA58
monochromatic
#2E2F5A #424482 #585AAA #8182BF #A9AAD3

Accessibility & contrast

On white

6.07
#585AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#585AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585AAA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585AAA#FFFFFF#000000##FFFFFF
##585AAA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#325FA8
Tritanopia (blue-blind)
#3A6B7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #585aaa;
/* rgb */ color: rgb(88, 90, 170);
/* oklch */ color: oklch(50.5% 0.125 279.9);
Tailwind
colors: {
  custom: {
    50: '#8c88c4',
    500: '#585aaa',
    950: '#000000',
  },
}
SCSS
$custom: #585aaa;
$custom-light: #8c88c4;
$custom-dark: #000000;
JSON
{
  "hex": "#585aaa",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 238.537,
    "s": 32.54,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50542,
    "c": 0.12488,
    "h": 279.9
  },
  "luminance": 0.12289
}

Semantic roles & 50–950 ramp

primary
#585AAA
secondary
#C1C09D
accent
#C65FC9
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #585AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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