#585FB9#585FB9

#585FB9 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.140 H 277.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#585FB9
RGBrgb(88, 95, 185)
HSLhsl(236, 41%, 54%)
HSVhsv(236, 52%, 73%)
CMYKcmyk(52.4%, 48.6%, 0%, 27.5%)
CIE-LABlab(43.89, 22.86, -48.60)
CIE-LCHlch(43.89, 53.70, 295.19°)
OKLaboklab(52.51% 0.0173 -0.1384)
OKLCHoklch(52.51% 0.14 277.1)
XYZxyz(16.8709, 13.7609, 47.6567)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FB9 #B9B258
analogous
#588FB9 #585FB9 #8158B9
triadic
#585FB9 #B9585F #5FB958
tetradic
#585FB9 #B9588F #B9B258 #58B981
square
#585FB9 #B9588F #B9B258 #58B981
split-complementary
#585FB9 #B98158 #8FB958
monochromatic
#2C316A #3F4595 #585FB9 #8388CB #AEB2DD

Accessibility & contrast

On white

5.60
#585FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#585FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FB9
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FB9#FFFFFF#000000##FFFFFF
##585FB91.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356CBC
Deuteranopia (green-blind)
#2B64B7
Tritanopia (blue-blind)
#2E7383
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #585fb9;
/* rgb */ color: rgb(88, 95, 185);
/* oklch */ color: oklch(52.5% 0.140 277.1);
Tailwind
colors: {
  custom: {
    50: '#8e8cce',
    500: '#585fb9',
    950: '#000000',
  },
}
SCSS
$custom: #585fb9;
$custom-light: #8e8cce;
$custom-dark: #000000;
JSON
{
  "hex": "#585fb9",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 185
  },
  "hsl": {
    "h": 235.67,
    "s": 40.928,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52511,
    "c": 0.13951,
    "h": 277.1
  },
  "luminance": 0.13762
}

Semantic roles & 50–950 ramp

primary
#585FB9
secondary
#CBC8A2
accent
#C857D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #585FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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