#585AF4#585AF4

#585AF4 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.0% C 0.225 H 275.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#585AF4
RGBrgb(88, 90, 244)
HSLhsl(239, 88%, 65%)
HSVhsv(239, 64%, 96%)
CMYKcmyk(63.9%, 63.1%, 0%, 4.3%)
CIE-LABlab(46.87, 45.08, -77.47)
CIE-LCHlch(46.87, 89.63, 300.20°)
OKLaboklab(56.04% 0.0227 -0.2234)
OKLCHoklch(56.04% 0.225 275.8)
XYZxyz(24.0045, 15.9167, 87.3776)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585AF4 #F4F258
analogous
#58A8F4 #585AF4 #A458F4
triadic
#585AF4 #F4585A #5AF458
tetradic
#585AF4 #F458A8 #F4F258 #58F4A4
square
#585AF4 #F458A8 #F4F258 #58F4A4
split-complementary
#585AF4 #F4A458 #A8F458
monochromatic
#0D0FC5 #1F21F0 #585AF4 #9193F8 #CBCBFC

Accessibility & contrast

On white

5.02
#585AF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#585AF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585AF4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585AF4#FFFFFF#000000##FFFFFF
##585AF41.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F9
Deuteranopia (green-blind)
#0068F1
Tritanopia (blue-blind)
#00819F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #585af4;
/* rgb */ color: rgb(88, 90, 244);
/* oklch */ color: oklch(56.0% 0.225 275.8);
Tailwind
colors: {
  custom: {
    50: '#9889f9',
    500: '#585af4',
    950: '#000000',
  },
}
SCSS
$custom: #585af4;
$custom-light: #9889f9;
$custom-dark: #000000;
JSON
{
  "hex": "#585af4",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 239.231,
    "s": 87.64,
    "l": 65.098
  },
  "oklch": {
    "l": 0.56042,
    "c": 0.22451,
    "h": 275.8
  },
  "luminance": 0.15919
}

Semantic roles & 50–950 ramp

primary
#585AF4
secondary
#EEEEB9
accent
#E101E4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #585AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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