#585EC1#585EC1

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

Color values

HEX#585EC1
RGBrgb(88, 94, 193)
HSLhsl(237, 46%, 55%)
HSVhsv(237, 54%, 76%)
CMYKcmyk(54.4%, 51.3%, 0%, 24.3%)
CIE-LABlab(44.13, 26.07, -52.86)
CIE-LCHlch(44.13, 58.94, 296.25°)
OKLaboklab(52.86% 0.0192 -0.151)
OKLCHoklch(52.86% 0.152 277.2)
XYZxyz(17.6498, 13.9292, 52.2003)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585EC1 #C1BB58
analogous
#5893C1 #585EC1 #8658C1
triadic
#585EC1 #C1585E #5EC158
tetradic
#585EC1 #C15893 #C1BB58 #58C186
square
#585EC1 #C15893 #C1BB58 #58C186
split-complementary
#585EC1 #C18658 #93C158
monochromatic
#2B2F74 #3C41A0 #585EC1 #8589D2 #B1B4E2

Accessibility & contrast

On white

5.55
#585EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#585EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585EC1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585EC1#FFFFFF#000000##FFFFFF
##585EC11.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6DC5
Deuteranopia (green-blind)
#1A64BF
Tritanopia (blue-blind)
#257486
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #585ec1;
/* rgb */ color: rgb(88, 94, 193);
/* oklch */ color: oklch(52.9% 0.152 277.2);
Tailwind
colors: {
  custom: {
    50: '#8f8bd4',
    500: '#585ec1',
    950: '#000000',
  },
}
SCSS
$custom: #585ec1;
$custom-light: #8f8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#585ec1",
  "rgb": {
    "r": 88,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 236.571,
    "s": 45.852,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52856,
    "c": 0.15219,
    "h": 277.2
  },
  "luminance": 0.1393
}

Semantic roles & 50–950 ramp

primary
#585EC1
secondary
#D0CEA4
accent
#CE52D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #585EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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