#585CDB#585CDB

#585CDB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.4% C 0.190 H 276.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#585CDB
RGBrgb(88, 92, 219)
HSLhsl(238, 65%, 60%)
HSVhsv(238, 60%, 86%)
CMYKcmyk(59.8%, 58%, 0%, 14.1%)
CIE-LABlab(45.42, 35.78, -65.72)
CIE-LCHlch(45.42, 74.82, 298.56°)
OKLaboklab(54.38% 0.0221 -0.1888)
OKLCHoklch(54.38% 0.19 276.7)
XYZxyz(20.6337, 14.8419, 68.7815)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CDB #DBD758
analogous
#589DDB #585CDB #9558DB
triadic
#585CDB #DB585C #5CDB58
tetradic
#585CDB #DB589D #DBD758 #58DB95
square
#585CDB #DB589D #DBD758 #58DB95
split-complementary
#585CDB #DB9558 #9DDB58
monochromatic
#212498 #2C30CA #585CDB #8A8DE6 #BDBEF1

Accessibility & contrast

On white

5.29
#585CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#585CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CDB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CDB#FFFFFF#000000##FFFFFF
##585CDB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #585cdb;
/* rgb */ color: rgb(88, 92, 219);
/* oklch */ color: oklch(54.4% 0.190 276.7);
Tailwind
colors: {
  custom: {
    50: '#938ae7',
    500: '#585cdb',
    950: '#000000',
  },
}
SCSS
$custom: #585cdb;
$custom-light: #938ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#585cdb",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 238.168,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54381,
    "c": 0.19011,
    "h": 276.7
  },
  "luminance": 0.14843
}

Semantic roles & 50–950 ramp

primary
#585CDB
secondary
#E1DFAE
accent
#C719CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #585CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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