#585FD2#585FD2

#585FD2 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.174 H 276.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#585FD2
RGBrgb(88, 95, 210)
HSLhsl(237, 58%, 58%)
HSVhsv(237, 58%, 82%)
CMYKcmyk(58.1%, 54.8%, 0%, 17.6%)
CIE-LABlab(45.51, 30.99, -60.42)
CIE-LCHlch(45.51, 67.91, 297.15°)
OKLaboklab(54.25% 0.0191 -0.1732)
OKLCHoklch(54.25% 0.174 276.3)
XYZxyz(19.7458, 14.9108, 62.7978)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FD2 #D2CB58
analogous
#589CD2 #585FD2 #8E58D2
triadic
#585FD2 #D2585F #5FD258
tetradic
#585FD2 #D2589C #D2CB58 #58D28E
square
#585FD2 #D2589C #D2CB58 #58D28E
split-complementary
#585FD2 #D28E58 #9CD258
monochromatic
#252B8A #323ABB #585FD2 #888DDF #B8BBEC

Accessibility & contrast

On white

5.27
#585FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#585FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FD2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FD2#FFFFFF#000000##FFFFFF
##585FD21.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B71D6
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #585fd2;
/* rgb */ color: rgb(88, 95, 210);
/* oklch */ color: oklch(54.3% 0.174 276.3);
Tailwind
colors: {
  custom: {
    50: '#928ce1',
    500: '#585fd2',
    950: '#000000',
  },
}
SCSS
$custom: #585fd2;
$custom-light: #928ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#585fd2",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 236.557,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54251,
    "c": 0.17428,
    "h": 276.3
  },
  "luminance": 0.14912
}

Semantic roles & 50–950 ramp

primary
#585FD2
secondary
#DBD8AB
accent
#D847E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #585FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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