#585CE2#585CE2

#585CE2 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.9% C 0.199 H 276.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#585CE2
RGBrgb(88, 92, 226)
HSLhsl(238, 70%, 62%)
HSVhsv(238, 61%, 89%)
CMYKcmyk(61.1%, 59.3%, 0%, 11.4%)
CIE-LABlab(45.93, 38.06, -68.85)
CIE-LCHlch(45.93, 78.67, 298.93°)
OKLaboklab(54.92% 0.022 -0.198)
OKLCHoklch(54.92% 0.199 276.3)
XYZxyz(21.5747, 15.2183, 73.7373)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CE2 #E2DE58
analogous
#58A1E2 #585CE2 #9958E2
triadic
#585CE2 #E2585C #5CE258
tetradic
#585CE2 #E258A1 #E2DE58 #58E299
square
#585CE2 #E258A1 #E2DE58 #58E299
split-complementary
#585CE2 #E29958 #A1E258
monochromatic
#1C20A3 #252BD7 #585CE2 #8C8FEB #C0C2F4

Accessibility & contrast

On white

5.19
#585CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#585CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CE2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CE2#FFFFFF#000000##FFFFFF
##585CE21.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #585ce2;
/* rgb */ color: rgb(88, 92, 226);
/* oklch */ color: oklch(54.9% 0.199 276.3);
Tailwind
colors: {
  custom: {
    50: '#948aec',
    500: '#585ce2',
    950: '#000000',
  },
}
SCSS
$custom: #585ce2;
$custom-light: #948aec;
$custom-dark: #000000;
JSON
{
  "hex": "#585ce2",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 238.261,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54924,
    "c": 0.19926,
    "h": 276.3
  },
  "luminance": 0.1522
}

Semantic roles & 50–950 ramp

primary
#585CE2
secondary
#E5E3B1
accent
#CD13D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #585CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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