#585BD4#585BD4

#585BD4 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.7% C 0.182 H 277.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#585BD4
RGBrgb(88, 91, 212)
HSLhsl(239, 59%, 59%)
HSVhsv(239, 58%, 83%)
CMYKcmyk(58.5%, 57.1%, 0%, 16.9%)
CIE-LABlab(44.67, 34.11, -62.93)
CIE-LCHlch(44.67, 71.58, 298.46°)
OKLaboklab(53.67% 0.023 -0.1806)
OKLCHoklch(53.67% 0.182 277.3)
XYZxyz(19.6454, 14.3089, 64.0012)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585BD4 #D4D158
analogous
#5899D4 #585BD4 #9358D4
triadic
#585BD4 #D4585B #5BD458
tetradic
#585BD4 #D45899 #D4D158 #58D493
square
#585BD4 #D45899 #D4D158 #58D493
split-complementary
#585BD4 #D49358 #99D458
monochromatic
#24278D #3134BE #585BD4 #898BE1 #B9BBED

Accessibility & contrast

On white

5.44
#585BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#585BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585BD4
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585BD4#FFFFFF#000000##FFFFFF
##585BD41.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #585bd4;
/* rgb */ color: rgb(88, 91, 212);
/* oklch */ color: oklch(53.7% 0.182 277.3);
Tailwind
colors: {
  custom: {
    50: '#9289e2',
    500: '#585bd4',
    950: '#000000',
  },
}
SCSS
$custom: #585bd4;
$custom-light: #9289e2;
$custom-dark: #000000;
JSON
{
  "hex": "#585bd4",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 212
  },
  "hsl": {
    "h": 238.548,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5367,
    "c": 0.18209,
    "h": 277.3
  },
  "luminance": 0.1431
}

Semantic roles & 50–950 ramp

primary
#585BD4
secondary
#DCDBAB
accent
#DE46E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #585BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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