#585BB9#585BB9

#585BB9 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.7% C 0.145 H 278.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#585BB9
RGBrgb(88, 91, 185)
HSLhsl(238, 41%, 54%)
HSVhsv(238, 52%, 73%)
CMYKcmyk(52.4%, 50.8%, 0%, 27.5%)
CIE-LABlab(42.85, 25.36, -50.26)
CIE-LCHlch(42.85, 56.30, 296.78°)
OKLaboklab(51.73% 0.0218 -0.1434)
OKLCHoklch(51.73% 0.145 278.7)
XYZxyz(16.5198, 13.0587, 47.5396)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585BB9 #B9B658
analogous
#588BB9 #585BB9 #8558B9
triadic
#585BB9 #B9585B #5BB958
tetradic
#585BB9 #B9588B #B9B658 #58B985
square
#585BB9 #B9588B #B9B658 #58B985
split-complementary
#585BB9 #B98558 #8BB958
monochromatic
#2C2E6A #3F4195 #585BB9 #8385CB #AEB0DD

Accessibility & contrast

On white

5.81
#585BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#585BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585BB9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585BB9#FFFFFF#000000##FFFFFF
##585BB91.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C69BC
Deuteranopia (green-blind)
#2161B7
Tritanopia (blue-blind)
#2E7081
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #585bb9;
/* rgb */ color: rgb(88, 91, 185);
/* oklch */ color: oklch(51.7% 0.145 278.7);
Tailwind
colors: {
  custom: {
    50: '#8e89cf',
    500: '#585bb9',
    950: '#000000',
  },
}
SCSS
$custom: #585bb9;
$custom-light: #8e89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#585bb9",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 185
  },
  "hsl": {
    "h": 238.144,
    "s": 40.928,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51729,
    "c": 0.14501,
    "h": 278.7
  },
  "luminance": 0.1306
}

Semantic roles & 50–950 ramp

primary
#585BB9
secondary
#CBCAA2
accent
#CD57D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #585BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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