#585CEA#585CEA

#585CEA is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.6% C 0.210 H 275.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#585CEA
RGBrgb(88, 92, 234)
HSLhsl(238, 78%, 63%)
HSVhsv(238, 62%, 92%)
CMYKcmyk(62.4%, 60.7%, 0%, 8.2%)
CIE-LABlab(46.54, 40.66, -72.39)
CIE-LCHlch(46.54, 83.03, 299.32°)
OKLaboklab(55.56% 0.0217 -0.2084)
OKLCHoklch(55.56% 0.21 275.9)
XYZxyz(22.6981, 15.6677, 79.6540)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CEA #EAE658
analogous
#58A5EA #585CEA #9D58EA
triadic
#585CEA #EA585C #5CEA58
tetradic
#585CEA #EA58A5 #EAE658 #58EA9D
square
#585CEA #EA58A5 #EAE658 #58EA9D
split-complementary
#585CEA #EA9D58 #A5EA58
monochromatic
#161BB1 #2227E3 #585CEA #8E91F1 #C5C6F8

Accessibility & contrast

On white

5.08
#585CEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#585CEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CEA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CEA#FFFFFF#000000##FFFFFF
##585CEA1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #585cea;
/* rgb */ color: rgb(88, 92, 234);
/* oklch */ color: oklch(55.6% 0.210 275.9);
Tailwind
colors: {
  custom: {
    50: '#968af2',
    500: '#585cea',
    950: '#000000',
  },
}
SCSS
$custom: #585cea;
$custom-light: #968af2;
$custom-dark: #000000;
JSON
{
  "hex": "#585cea",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 238.356,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55558,
    "c": 0.20957,
    "h": 275.9
  },
  "luminance": 0.1567
}

Semantic roles & 50–950 ramp

primary
#585CEA
secondary
#E9E8B5
accent
#D40CDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #585CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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