#585FEF#585FEF

#585FEF is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.5% C 0.212 H 275.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#585FEF
RGBrgb(88, 95, 239)
HSLhsl(237, 83%, 64%)
HSVhsv(237, 63%, 94%)
CMYKcmyk(63.2%, 60.3%, 0%, 6.3%)
CIE-LABlab(47.61, 40.49, -73.45)
CIE-LCHlch(47.61, 83.87, 298.87°)
OKLaboklab(56.47% 0.019 -0.2115)
OKLCHoklch(56.47% 0.212 275.1)
XYZxyz(23.6916, 16.4891, 83.5788)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FEF #EFE858
analogous
#58AAEF #585FEF #9D58EF
triadic
#585FEF #EF585F #5FEF58
tetradic
#585FEF #EF58AA #EFE858 #58EF9D
square
#585FEF #EF58AA #EFE858 #58EF9D
split-complementary
#585FEF #EF9D58 #AAEF58
monochromatic
#121ABB #2029EA #585FEF #9095F4 #C8CAFA

Accessibility & contrast

On white

4.89
#585FEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#585FEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FEF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FEF#FFFFFF#000000##FFFFFF
##585FEF1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#00839E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #585fef;
/* rgb */ color: rgb(88, 95, 239);
/* oklch */ color: oklch(56.5% 0.212 275.1);
Tailwind
colors: {
  custom: {
    50: '#968cf5',
    500: '#585fef',
    950: '#000000',
  },
}
SCSS
$custom: #585fef;
$custom-light: #968cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#585fef",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 237.219,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56468,
    "c": 0.21239,
    "h": 275.1
  },
  "luminance": 0.16491
}

Semantic roles & 50–950 ramp

primary
#585FEF
secondary
#ECE9B7
accent
#D507DF
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #585FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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