#585EB2#585EB2

#585EB2 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.131 H 277.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#585EB2
RGBrgb(88, 94, 178)
HSLhsl(236, 37%, 52%)
HSVhsv(236, 51%, 70%)
CMYKcmyk(50.6%, 47.2%, 0%, 30.2%)
CIE-LABlab(43.20, 21.24, -45.60)
CIE-LCHlch(43.20, 50.31, 294.98°)
OKLaboklab(51.86% 0.0176 -0.1297)
OKLCHoklch(51.86% 0.131 277.7)
XYZxyz(16.0606, 13.2935, 43.8305)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585EB2 #B2AC58
analogous
#588BB2 #585EB2 #7F58B2
triadic
#585EB2 #B2585E #5EB258
tetradic
#585EB2 #B2588B #B2AC58 #58B27F
square
#585EB2 #B2588B #B2AC58 #58B27F
split-complementary
#585EB2 #B27F58 #8BB258
monochromatic
#2D3162 #41468C #585EB2 #8286C5 #ACAFD9

Accessibility & contrast

On white

5.74
#585EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#585EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585EB2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585EB2#FFFFFF#000000##FFFFFF
##585EB21.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#3163B0
Tritanopia (blue-blind)
#34707F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #585eb2;
/* rgb */ color: rgb(88, 94, 178);
/* oklch */ color: oklch(51.9% 0.131 277.7);
Tailwind
colors: {
  custom: {
    50: '#8d8bc9',
    500: '#585eb2',
    950: '#000000',
  },
}
SCSS
$custom: #585eb2;
$custom-light: #8d8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#585eb2",
  "rgb": {
    "r": 88,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 236,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51855,
    "c": 0.13085,
    "h": 277.7
  },
  "luminance": 0.13294
}

Semantic roles & 50–950 ramp

primary
#585EB2
secondary
#C7C49F
accent
#C55BCD
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #585EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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