#585FDF#585FDF

#585FDF is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.2% C 0.192 H 275.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#585FDF
RGBrgb(88, 95, 223)
HSLhsl(237, 68%, 61%)
HSVhsv(237, 61%, 87%)
CMYKcmyk(60.5%, 57.4%, 0%, 12.5%)
CIE-LABlab(46.43, 35.25, -66.35)
CIE-LCHlch(46.43, 75.13, 297.98°)
OKLaboklab(55.22% 0.0193 -0.1907)
OKLCHoklch(55.22% 0.192 275.8)
XYZxyz(21.4317, 15.5852, 71.6766)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FDF #DFD858
analogous
#58A2DF #585FDF #9458DF
triadic
#585FDF #DF585F #5FDF58
tetradic
#585FDF #DF58A2 #DFD858 #58DF94
square
#585FDF #DF58A2 #DFD858 #58DF94
split-complementary
#585FDF #DF9458 #A2DF58
monochromatic
#1E259E #2831D2 #585FDF #8B90E9 #BFC1F3

Accessibility & contrast

On white

5.10
#585FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#585FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FDF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FDF#FFFFFF#000000##FFFFFF
##585FDF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #585fdf;
/* rgb */ color: rgb(88, 95, 223);
/* oklch */ color: oklch(55.2% 0.192 275.8);
Tailwind
colors: {
  custom: {
    50: '#948cea',
    500: '#585fdf',
    950: '#000000',
  },
}
SCSS
$custom: #585fdf;
$custom-light: #948cea;
$custom-dark: #000000;
JSON
{
  "hex": "#585fdf",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 236.889,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5522,
    "c": 0.19165,
    "h": 275.8
  },
  "luminance": 0.15587
}

Semantic roles & 50–950 ramp

primary
#585FDF
secondary
#E3E0B0
accent
#C616D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #585FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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