#585DB7#585DB7

#585DB7 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.0% C 0.139 H 278.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#585DB7
RGBrgb(88, 93, 183)
HSLhsl(237, 40%, 53%)
HSVhsv(237, 52%, 72%)
CMYKcmyk(51.9%, 49.2%, 0%, 28.2%)
CIE-LABlab(43.24, 23.47, -48.46)
CIE-LCHlch(43.24, 53.85, 295.84°)
OKLaboklab(51.98% 0.0194 -0.1381)
OKLCHoklch(51.98% 0.139 278)
XYZxyz(16.4834, 13.3213, 46.4933)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585DB7 #B7B258
analogous
#588CB7 #585DB7 #8258B7
triadic
#585DB7 #B7585D #5DB758
tetradic
#585DB7 #B7588C #B7B258 #58B782
square
#585DB7 #B7588C #B7B258 #58B782
split-complementary
#585DB7 #B78258 #8CB758
monochromatic
#2D3068 #3F4493 #585DB7 #8386C9 #AEB0DC

Accessibility & contrast

On white

5.73
#585DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#585DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585DB7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585DB7#FFFFFF#000000##FFFFFF
##585DB71.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336ABA
Deuteranopia (green-blind)
#2962B5
Tritanopia (blue-blind)
#307181
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #585db7;
/* rgb */ color: rgb(88, 93, 183);
/* oklch */ color: oklch(52.0% 0.139 278.0);
Tailwind
colors: {
  custom: {
    50: '#8e8acd',
    500: '#585db7',
    950: '#000000',
  },
}
SCSS
$custom: #585db7;
$custom-light: #8e8acd;
$custom-dark: #000000;
JSON
{
  "hex": "#585db7",
  "rgb": {
    "r": 88,
    "g": 93,
    "b": 183
  },
  "hsl": {
    "h": 236.842,
    "s": 39.749,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51984,
    "c": 0.13942,
    "h": 278
  },
  "luminance": 0.13322
}

Semantic roles & 50–950 ramp

primary
#585DB7
secondary
#CAC8A1
accent
#C958D0
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #585DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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