#585DB8#585DB8

#585DB8 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.141 H 277.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#585DB8
RGBrgb(88, 93, 184)
HSLhsl(237, 40%, 53%)
HSVhsv(237, 52%, 72%)
CMYKcmyk(52.2%, 49.5%, 0%, 27.8%)
CIE-LABlab(43.31, 23.79, -48.95)
CIE-LCHlch(43.31, 54.42, 295.92°)
OKLaboklab(52.05% 0.0194 -0.1395)
OKLCHoklch(52.05% 0.141 277.9)
XYZxyz(16.5879, 13.3631, 47.0434)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585DB8 #B8B358
analogous
#588DB8 #585DB8 #8358B8
triadic
#585DB8 #B8585D #5DB858
tetradic
#585DB8 #B8588D #B8B358 #58B883
square
#585DB8 #B8588D #B8B358 #58B883
split-complementary
#585DB8 #B88358 #8DB858
monochromatic
#2D3069 #3F4394 #585DB8 #8387CA #AEB0DD

Accessibility & contrast

On white

5.72
#585DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#585DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585DB8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585DB8#FFFFFF#000000##FFFFFF
##585DB81.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326ABB
Deuteranopia (green-blind)
#2863B6
Tritanopia (blue-blind)
#2F7182
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #585db8;
/* rgb */ color: rgb(88, 93, 184);
/* oklch */ color: oklch(52.1% 0.141 277.9);
Tailwind
colors: {
  custom: {
    50: '#8e8ace',
    500: '#585db8',
    950: '#000000',
  },
}
SCSS
$custom: #585db8;
$custom-light: #8e8ace;
$custom-dark: #000000;
JSON
{
  "hex": "#585db8",
  "rgb": {
    "r": 88,
    "g": 93,
    "b": 184
  },
  "hsl": {
    "h": 236.875,
    "s": 40.336,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.14084,
    "h": 277.9
  },
  "luminance": 0.13364
}

Semantic roles & 50–950 ramp

primary
#585DB8
secondary
#CBC8A1
accent
#CA58D0
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #585DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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