#585DEF#585DEF

#585DEF is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.1% C 0.215 H 275.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#585DEF
RGBrgb(88, 93, 239)
HSLhsl(238, 83%, 64%)
HSVhsv(238, 63%, 94%)
CMYKcmyk(63.2%, 61.1%, 0%, 6.3%)
CIE-LABlab(47.15, 41.69, -74.20)
CIE-LCHlch(47.15, 85.11, 299.33°)
OKLaboklab(56.13% 0.0207 -0.2137)
OKLCHoklch(56.13% 0.215 275.5)
XYZxyz(23.5137, 16.1334, 83.5196)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585DEF #EFEA58
analogous
#58A9EF #585DEF #9F58EF
triadic
#585DEF #EF585D #5DEF58
tetradic
#585DEF #EF58A9 #EFEA58 #58EF9F
square
#585DEF #EF58A9 #EFEA58 #58EF9F
split-complementary
#585DEF #EF9F58 #A9EF58
monochromatic
#1217BB #2027EA #585DEF #9093F4 #C8C9FA

Accessibility & contrast

On white

4.97
#585DEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#585DEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585DEF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585DEF#FFFFFF#000000##FFFFFF
##585DEF1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0069EC
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #585def;
/* rgb */ color: rgb(88, 93, 239);
/* oklch */ color: oklch(56.1% 0.215 275.5);
Tailwind
colors: {
  custom: {
    50: '#978bf5',
    500: '#585def',
    950: '#000000',
  },
}
SCSS
$custom: #585def;
$custom-light: #978bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#585def",
  "rgb": {
    "r": 88,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 238.013,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56129,
    "c": 0.21475,
    "h": 275.5
  },
  "luminance": 0.16135
}

Semantic roles & 50–950 ramp

primary
#585DEF
secondary
#ECEAB7
accent
#D807DF
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #585DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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