#585EA7#585EA7

#585EA7 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.2% C 0.115 H 278.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#585EA7
RGBrgb(88, 94, 167)
HSLhsl(235, 31%, 50%)
HSVhsv(235, 47%, 65%)
CMYKcmyk(47.3%, 43.7%, 0%, 34.5%)
CIE-LABlab(42.57, 17.76, -40.14)
CIE-LCHlch(42.57, 43.89, 293.87°)
OKLaboklab(51.17% 0.0159 -0.1136)
OKLCHoklch(51.17% 0.115 278)
XYZxyz(15.0001, 12.8693, 38.2454)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585EA7 #A7A158
analogous
#5885A7 #585EA7 #7A58A7
triadic
#585EA7 #A7585E #5EA758
tetradic
#585EA7 #A75885 #A7A158 #58A77A
square
#585EA7 #A75885 #A7A158 #58A77A
split-complementary
#585EA7 #A77A58 #85A758
monochromatic
#2E3157 #43477F #585EA7 #8085BC #A8ABD1

Accessibility & contrast

On white

5.88
#585EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#585EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585EA7
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585EA7#FFFFFF#000000##FFFFFF
##585EA71.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4168AA
Deuteranopia (green-blind)
#3B62A5
Tritanopia (blue-blind)
#3C6D7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #585ea7;
/* rgb */ color: rgb(88, 94, 167);
/* oklch */ color: oklch(51.2% 0.115 278.0);
Tailwind
colors: {
  custom: {
    50: '#8c8bc1',
    500: '#585ea7',
    950: '#000000',
  },
}
SCSS
$custom: #585ea7;
$custom-light: #8c8bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#585ea7",
  "rgb": {
    "r": 88,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 235.443,
    "s": 30.98,
    "l": 50
  },
  "oklch": {
    "l": 0.51165,
    "c": 0.11475,
    "h": 278
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

primary
#585EA7
secondary
#BFBC9C
accent
#BF61C7
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #585EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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