#585BCB#585BCB

#585BCB is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.0% C 0.170 H 277.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#585BCB
RGBrgb(88, 91, 203)
HSLhsl(238, 53%, 57%)
HSVhsv(238, 57%, 80%)
CMYKcmyk(56.7%, 55.2%, 0%, 20.4%)
CIE-LABlab(44.04, 31.18, -58.78)
CIE-LCHlch(44.04, 66.54, 297.94°)
OKLaboklab(53% 0.0229 -0.1684)
OKLCHoklch(53% 0.17 277.7)
XYZxyz(18.5416, 13.8674, 58.1879)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585BCB #CBC858
analogous
#5894CB #585BCB #8F58CB
triadic
#585BCB #CB585B #5BCB58
tetradic
#585BCB #CB5894 #CBC858 #58CB8F
square
#585BCB #CB5894 #CBC858 #58CB8F
split-complementary
#585BCB #CB8F58 #94CB58
monochromatic
#282A81 #373AAF #585BCB #8789DA #B5B7E8

Accessibility & contrast

On white

5.56
#585BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#585BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585BCB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585BCB#FFFFFF#000000##FFFFFF
##585BCB1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096DCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#15758A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #585bcb;
/* rgb */ color: rgb(88, 91, 203);
/* oklch */ color: oklch(53.0% 0.170 277.7);
Tailwind
colors: {
  custom: {
    50: '#9189dc',
    500: '#585bcb',
    950: '#000000',
  },
}
SCSS
$custom: #585bcb;
$custom-light: #9189dc;
$custom-dark: #000000;
JSON
{
  "hex": "#585bcb",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 238.435,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53001,
    "c": 0.16998,
    "h": 277.7
  },
  "luminance": 0.13869
}

Semantic roles & 50–950 ramp

primary
#585BCB
secondary
#D7D6A8
accent
#D84CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #585BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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