#585FDB#585FDB

#585FDB is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.9% C 0.186 H 275.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#585FDB
RGBrgb(88, 95, 219)
HSLhsl(237, 65%, 60%)
HSVhsv(237, 60%, 86%)
CMYKcmyk(59.8%, 56.6%, 0%, 14.1%)
CIE-LABlab(46.14, 33.94, -64.54)
CIE-LCHlch(46.14, 72.92, 297.74°)
OKLaboklab(54.92% 0.0193 -0.1853)
OKLCHoklch(54.92% 0.186 275.9)
XYZxyz(20.8987, 15.3720, 68.8699)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FDB #DBD458
analogous
#58A0DB #585FDB #9358DB
triadic
#585FDB #DB585F #5FDB58
tetradic
#585FDB #DB58A0 #DBD458 #58DB93
square
#585FDB #DB58A0 #DBD458 #58DB93
split-complementary
#585FDB #DB9358 #A0DB58
monochromatic
#212798 #2C34CA #585FDB #8A8FE6 #BDBFF1

Accessibility & contrast

On white

5.15
#585FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#585FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FDB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FDB#FFFFFF#000000##FFFFFF
##585FDB1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #585fdb;
/* rgb */ color: rgb(88, 95, 219);
/* oklch */ color: oklch(54.9% 0.186 275.9);
Tailwind
colors: {
  custom: {
    50: '#938ce7',
    500: '#585fdb',
    950: '#000000',
  },
}
SCSS
$custom: #585fdb;
$custom-light: #938ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#585fdb",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 236.794,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54918,
    "c": 0.18635,
    "h": 275.9
  },
  "luminance": 0.15374
}

Semantic roles & 50–950 ramp

primary
#585FDB
secondary
#E1DEAE
accent
#C319CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #585FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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