#585EC7#585EC7

#585EC7 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.3% C 0.161 H 277.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#585EC7
RGBrgb(88, 94, 199)
HSLhsl(237, 50%, 56%)
HSVhsv(237, 56%, 78%)
CMYKcmyk(55.8%, 52.8%, 0%, 22%)
CIE-LABlab(44.52, 28.02, -55.70)
CIE-LCHlch(44.52, 62.35, 296.71°)
OKLaboklab(53.27% 0.0196 -0.1593)
OKLCHoklch(53.27% 0.161 277)
XYZxyz(18.3327, 14.2024, 55.7970)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585EC7 #C7C158
analogous
#5896C7 #585EC7 #8A58C7
triadic
#585EC7 #C7585E #5EC758
tetradic
#585EC7 #C75896 #C7C158 #58C78A
square
#585EC7 #C75896 #C7C158 #58C78A
split-complementary
#585EC7 #C78A58 #96C758
monochromatic
#292E7B #393FA9 #585EC7 #868AD6 #B4B6E6

Accessibility & contrast

On white

5.47
#585EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#585EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585EC7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585EC7#FFFFFF#000000##FFFFFF
##585EC71.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226ECB
Deuteranopia (green-blind)
#0765C5
Tritanopia (blue-blind)
#1C7689
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #585ec7;
/* rgb */ color: rgb(88, 94, 199);
/* oklch */ color: oklch(53.3% 0.161 277.0);
Tailwind
colors: {
  custom: {
    50: '#908bd9',
    500: '#585ec7',
    950: '#000000',
  },
}
SCSS
$custom: #585ec7;
$custom-light: #908bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#585ec7",
  "rgb": {
    "r": 88,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 236.757,
    "s": 49.776,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53274,
    "c": 0.16054,
    "h": 277
  },
  "luminance": 0.14204
}

Semantic roles & 50–950 ramp

primary
#585EC7
secondary
#D4D2A7
accent
#D24FD9
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #585EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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