#585AF5#585AF5

#585AF5 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.1% C 0.226 H 275.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#585AF5
RGBrgb(88, 90, 245)
HSLhsl(239, 89%, 65%)
HSVhsv(239, 64%, 96%)
CMYKcmyk(64.1%, 63.3%, 0%, 3.9%)
CIE-LABlab(46.95, 45.40, -77.90)
CIE-LCHlch(46.95, 90.16, 300.24°)
OKLaboklab(56.13% 0.0226 -0.2246)
OKLCHoklch(56.13% 0.226 275.8)
XYZxyz(24.1567, 15.9775, 88.1795)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585AF5 #F5F358
analogous
#58A8F5 #585AF5 #A558F5
triadic
#585AF5 #F5585A #5AF558
tetradic
#585AF5 #F558A8 #F5F358 #58F5A5
square
#585AF5 #F558A8 #F5F358 #58F5A5
split-complementary
#585AF5 #F5A558 #A8F558
monochromatic
#0C0EC7 #1E21F2 #585AF5 #9293F8 #CBCCFC

Accessibility & contrast

On white

5.00
#585AF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#585AF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585AF5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585AF5#FFFFFF#000000##FFFFFF
##585AF51.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FA
Deuteranopia (green-blind)
#0068F2
Tritanopia (blue-blind)
#00829F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #585af5;
/* rgb */ color: rgb(88, 90, 245);
/* oklch */ color: oklch(56.1% 0.226 275.8);
Tailwind
colors: {
  custom: {
    50: '#9889fa',
    500: '#585af5',
    950: '#000000',
  },
}
SCSS
$custom: #585af5;
$custom-light: #9889fa;
$custom-dark: #000000;
JSON
{
  "hex": "#585af5",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 245
  },
  "hsl": {
    "h": 239.236,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56126,
    "c": 0.22576,
    "h": 275.8
  },
  "luminance": 0.1598
}

Semantic roles & 50–950 ramp

primary
#585AF5
secondary
#EFEEBA
accent
#E200E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #585AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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