#585CEF#585CEF

#585CEF is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.0% C 0.216 H 275.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#585CEF
RGBrgb(88, 92, 239)
HSLhsl(238, 83%, 64%)
HSVhsv(238, 63%, 94%)
CMYKcmyk(63.2%, 61.5%, 0%, 6.3%)
CIE-LABlab(46.92, 42.28, -74.57)
CIE-LCHlch(46.92, 85.73, 299.55°)
OKLaboklab(55.96% 0.0215 -0.2148)
OKLCHoklch(55.96% 0.216 275.7)
XYZxyz(23.4265, 15.9590, 83.4905)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CEF #EFEB58
analogous
#58A7EF #585CEF #A058EF
triadic
#585CEF #EF585C #5CEF58
tetradic
#585CEF #EF58A7 #EFEB58 #58EFA0
square
#585CEF #EF58A7 #EFEB58 #58EFA0
split-complementary
#585CEF #EFA058 #A7EF58
monochromatic
#1216BB #2025EA #585CEF #9093F4 #C8C9FA

Accessibility & contrast

On white

5.01
#585CEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#585CEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CEF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CEF#FFFFFF#000000##FFFFFF
##585CEF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F4
Deuteranopia (green-blind)
#0069EC
Tritanopia (blue-blind)
#00819D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #585cef;
/* rgb */ color: rgb(88, 92, 239);
/* oklch */ color: oklch(56.0% 0.216 275.7);
Tailwind
colors: {
  custom: {
    50: '#978af5',
    500: '#585cef',
    950: '#000000',
  },
}
SCSS
$custom: #585cef;
$custom-light: #978af5;
$custom-dark: #000000;
JSON
{
  "hex": "#585cef",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 238.411,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55961,
    "c": 0.21592,
    "h": 275.7
  },
  "luminance": 0.15961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #585CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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