#585AF7#585AF7

#585AF7 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.3% C 0.228 H 275.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#585AF7
RGBrgb(88, 90, 247)
HSLhsl(239, 91%, 66%)
HSVhsv(239, 64%, 97%)
CMYKcmyk(64.4%, 63.6%, 0%, 3.1%)
CIE-LABlab(47.11, 46.04, -78.75)
CIE-LCHlch(47.11, 91.22, 300.31°)
OKLaboklab(56.29% 0.0225 -0.2271)
OKLCHoklch(56.29% 0.228 275.7)
XYZxyz(24.4637, 16.1003, 89.7961)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585AF7 #F7F558
analogous
#58AAF7 #585AF7 #A558F7
triadic
#585AF7 #F7585A #5AF758
tetradic
#585AF7 #F758AA #F7F558 #58F7A5
square
#585AF7 #F758AA #F7F558 #58F7A5
split-complementary
#585AF7 #F7A558 #AAF758
monochromatic
#0A0CCB #1E20F4 #585AF7 #9294FA #CDCDFD

Accessibility & contrast

On white

4.98
#585AF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#585AF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585AF7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585AF7#FFFFFF#000000##FFFFFF
##585AF71.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FC
Deuteranopia (green-blind)
#0069F4
Tritanopia (blue-blind)
#0082A0
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #585af7;
/* rgb */ color: rgb(88, 90, 247);
/* oklch */ color: oklch(56.3% 0.228 275.7);
Tailwind
colors: {
  custom: {
    50: '#9889fb',
    500: '#585af7',
    950: '#000000',
  },
}
SCSS
$custom: #585af7;
$custom-light: #9889fb;
$custom-dark: #000000;
JSON
{
  "hex": "#585af7",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 239.245,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.56293,
    "c": 0.22823,
    "h": 275.7
  },
  "luminance": 0.16102
}

Semantic roles & 50–950 ramp

primary
#585AF7
secondary
#F0EFBB
accent
#E300E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #585AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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