#585CE5#585CE5

#585CE5 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.2% C 0.203 H 276.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#585CE5
RGBrgb(88, 92, 229)
HSLhsl(238, 73%, 62%)
HSVhsv(238, 62%, 90%)
CMYKcmyk(61.6%, 59.8%, 0%, 10.2%)
CIE-LABlab(46.16, 39.03, -70.19)
CIE-LCHlch(46.16, 80.31, 299.08°)
OKLaboklab(55.16% 0.0219 -0.202)
OKLCHoklch(55.16% 0.203 276.2)
XYZxyz(21.9899, 15.3844, 75.9242)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CE5 #E5E158
analogous
#58A3E5 #585CE5 #9B58E5
triadic
#585CE5 #E5585C #5CE558
tetradic
#585CE5 #E558A3 #E5E158 #58E59B
square
#585CE5 #E558A3 #E5E158 #58E59B
split-complementary
#585CE5 #E59B58 #A3E558
monochromatic
#1A1EA8 #2328DD #585CE5 #8D90ED #C2C3F5

Accessibility & contrast

On white

5.15
#585CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#585CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CE5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CE5#FFFFFF#000000##FFFFFF
##585CE51.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#0067E2
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #585ce5;
/* rgb */ color: rgb(88, 92, 229);
/* oklch */ color: oklch(55.2% 0.203 276.2);
Tailwind
colors: {
  custom: {
    50: '#958aee',
    500: '#585ce5',
    950: '#000000',
  },
}
SCSS
$custom: #585ce5;
$custom-light: #958aee;
$custom-dark: #000000;
JSON
{
  "hex": "#585ce5",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 238.298,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5516,
    "c": 0.20315,
    "h": 276.2
  },
  "luminance": 0.15386
}

Semantic roles & 50–950 ramp

primary
#585CE5
secondary
#E6E5B3
accent
#D010D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #585CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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