#585CEB#585CEB

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

Color values

HEX#585CEB
RGBrgb(88, 92, 235)
HSLhsl(238, 79%, 63%)
HSVhsv(238, 63%, 92%)
CMYKcmyk(62.6%, 60.9%, 0%, 7.8%)
CIE-LABlab(46.61, 40.98, -72.83)
CIE-LCHlch(46.61, 83.57, 299.37°)
OKLaboklab(55.64% 0.0217 -0.2097)
OKLCHoklch(55.64% 0.211 275.9)
XYZxyz(22.8421, 15.7253, 80.4127)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CEB #EBE758
analogous
#58A6EB #585CEB #9D58EB
triadic
#585CEB #EB585C #5CEB58
tetradic
#585CEB #EB58A6 #EBE758 #58EB9D
square
#585CEB #EB58A6 #EBE758 #58EB9D
split-complementary
#585CEB #EB9D58 #A6EB58
monochromatic
#151AB3 #2127E4 #585CEB #8F91F2 #C5C7F8

Accessibility & contrast

On white

5.07
#585CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#585CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CEB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CEB#FFFFFF#000000##FFFFFF
##585CEB1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#0068E8
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #585ceb;
/* rgb */ color: rgb(88, 92, 235);
/* oklch */ color: oklch(55.6% 0.211 275.9);
Tailwind
colors: {
  custom: {
    50: '#968af2',
    500: '#585ceb',
    950: '#000000',
  },
}
SCSS
$custom: #585ceb;
$custom-light: #968af2;
$custom-dark: #000000;
JSON
{
  "hex": "#585ceb",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 238.367,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55638,
    "c": 0.21085,
    "h": 275.9
  },
  "luminance": 0.15727
}

Semantic roles & 50–950 ramp

primary
#585CEB
secondary
#EAE8B5
accent
#D50BDB
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #585CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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