#585EC2#585EC2

#585EC2 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.9% C 0.154 H 277.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#585EC2
RGBrgb(88, 94, 194)
HSLhsl(237, 46%, 55%)
HSVhsv(237, 55%, 76%)
CMYKcmyk(54.6%, 51.5%, 0%, 23.9%)
CIE-LABlab(44.20, 26.40, -53.33)
CIE-LCHlch(44.20, 59.51, 296.33°)
OKLaboklab(52.93% 0.0192 -0.1524)
OKLCHoklch(52.93% 0.154 277.2)
XYZxyz(17.7617, 13.9740, 52.7898)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585EC2 #C2BC58
analogous
#5893C2 #585EC2 #8758C2
triadic
#585EC2 #C2585E #5EC258
tetradic
#585EC2 #C25893 #C2BC58 #58C287
square
#585EC2 #C25893 #C2BC58 #58C287
split-complementary
#585EC2 #C28758 #93C258
monochromatic
#2B2F75 #3B41A2 #585EC2 #8589D2 #B2B4E3

Accessibility & contrast

On white

5.53
#585EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#585EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585EC2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585EC2#FFFFFF#000000##FFFFFF
##585EC21.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296DC6
Deuteranopia (green-blind)
#1864C0
Tritanopia (blue-blind)
#247487
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #585ec2;
/* rgb */ color: rgb(88, 94, 194);
/* oklch */ color: oklch(52.9% 0.154 277.2);
Tailwind
colors: {
  custom: {
    50: '#8f8bd5',
    500: '#585ec2',
    950: '#000000',
  },
}
SCSS
$custom: #585ec2;
$custom-light: #8f8bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#585ec2",
  "rgb": {
    "r": 88,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 236.604,
    "s": 46.491,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52925,
    "c": 0.15359,
    "h": 277.2
  },
  "luminance": 0.13975
}

Semantic roles & 50–950 ramp

primary
#585EC2
secondary
#D1CFA5
accent
#CF52D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #585EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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