#585AA2#585AA2

#585AA2 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 50.0% C 0.113 H 280.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#585AA2
RGBrgb(88, 90, 162)
HSLhsl(238, 30%, 49%)
HSVhsv(238, 46%, 64%)
CMYKcmyk(45.7%, 44.4%, 0%, 36.5%)
CIE-LABlab(41.21, 18.72, -39.33)
CIE-LCHlch(41.21, 43.56, 295.46°)
OKLaboklab(50.04% 0.0202 -0.1113)
OKLCHoklch(50.04% 0.113 280.3)
XYZxyz(14.2003, 11.9950, 35.7424)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585AA2 #A2A058
analogous
#587FA2 #585AA2 #7B58A2
triadic
#585AA2 #A2585A #5AA258
tetradic
#585AA2 #A2587F #A2A058 #58A27B
square
#585AA2 #A2587F #A2A058 #58A27B
split-complementary
#585AA2 #A27B58 #7FA258
monochromatic
#2D2E53 #42447A #585AA2 #7E80B9 #A6A7CF

Accessibility & contrast

On white

6.18
#585AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#585AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585AA2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585AA2#FFFFFF#000000##FFFFFF
##585AA21.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#395FA0
Tritanopia (blue-blind)
#3F6976
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #585aa2;
/* rgb */ color: rgb(88, 90, 162);
/* oklch */ color: oklch(50.0% 0.113 280.3);
Tailwind
colors: {
  custom: {
    50: '#8b88be',
    500: '#585aa2',
    950: '#000000',
  },
}
SCSS
$custom: #585aa2;
$custom-light: #8b88be;
$custom-dark: #000000;
JSON
{
  "hex": "#585aa2",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 238.378,
    "s": 29.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5004,
    "c": 0.11312,
    "h": 280.3
  },
  "luminance": 0.11996
}

Semantic roles & 50–950 ramp

primary
#585AA2
secondary
#BCBB99
accent
#C362C6
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #585AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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