#585FD4#585FD4

#585FD4 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.4% C 0.177 H 276.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#585FD4
RGBrgb(88, 95, 212)
HSLhsl(237, 59%, 59%)
HSVhsv(237, 58%, 83%)
CMYKcmyk(58.5%, 55.2%, 0%, 16.9%)
CIE-LABlab(45.65, 31.65, -61.35)
CIE-LCHlch(45.65, 69.03, 297.29°)
OKLaboklab(54.4% 0.0192 -0.1759)
OKLCHoklch(54.4% 0.177 276.2)
XYZxyz(19.9965, 15.0111, 64.1183)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FD4 #D4CD58
analogous
#589DD4 #585FD4 #8F58D4
triadic
#585FD4 #D4585F #5FD458
tetradic
#585FD4 #D4589D #D4CD58 #58D48F
square
#585FD4 #D4589D #D4CD58 #58D48F
split-complementary
#585FD4 #D48F58 #9DD458
monochromatic
#242A8D #3139BE #585FD4 #898EE1 #B9BCED

Accessibility & contrast

On white

5.25
#585FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#585FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FD4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FD4#FFFFFF#000000##FFFFFF
##585FD41.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0171D8
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #585fd4;
/* rgb */ color: rgb(88, 95, 212);
/* oklch */ color: oklch(54.4% 0.177 276.2);
Tailwind
colors: {
  custom: {
    50: '#928ce2',
    500: '#585fd4',
    950: '#000000',
  },
}
SCSS
$custom: #585fd4;
$custom-light: #928ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#585fd4",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 236.613,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54397,
    "c": 0.17698,
    "h": 276.2
  },
  "luminance": 0.15013
}

Semantic roles & 50–950 ramp

primary
#585FD4
secondary
#DCDAAB
accent
#D946E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #585FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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