#585ECA#585ECA

#585ECA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.5% C 0.165 H 276.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#585ECA
RGBrgb(88, 94, 202)
HSLhsl(237, 52%, 57%)
HSVhsv(237, 56%, 79%)
CMYKcmyk(56.4%, 53.5%, 0%, 20.8%)
CIE-LABlab(44.72, 29.00, -57.11)
CIE-LCHlch(44.72, 64.05, 296.92°)
OKLaboklab(53.49% 0.0198 -0.1635)
OKLCHoklch(53.49% 0.165 276.9)
XYZxyz(18.6845, 14.3431, 57.6496)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585ECA #CAC458
analogous
#5897CA #585ECA #8B58CA
triadic
#585ECA #CA585E #5ECA58
tetradic
#585ECA #CA5897 #CAC458 #58CA8B
square
#585ECA #CA5897 #CAC458 #58CA8B
split-complementary
#585ECA #CA8B58 #97CA58
monochromatic
#282D7F #373DAE #585ECA #868BD9 #B5B8E7

Accessibility & contrast

On white

5.43
#585ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#585ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585ECA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585ECA#FFFFFF#000000##FFFFFF
##585ECA1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCE
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#17778B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #585eca;
/* rgb */ color: rgb(88, 94, 202);
/* oklch */ color: oklch(53.5% 0.165 276.9);
Tailwind
colors: {
  custom: {
    50: '#908bdb',
    500: '#585eca',
    950: '#000000',
  },
}
SCSS
$custom: #585eca;
$custom-light: #908bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#585eca",
  "rgb": {
    "r": 88,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 236.842,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53487,
    "c": 0.16467,
    "h": 276.9
  },
  "luminance": 0.14344
}

Semantic roles & 50–950 ramp

primary
#585ECA
secondary
#D6D4A8
accent
#D44DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #585ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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