#585AF1#585AF1

#585AF1 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.8% C 0.221 H 276.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#585AF1
RGBrgb(88, 90, 241)
HSLhsl(239, 85%, 65%)
HSVhsv(239, 63%, 95%)
CMYKcmyk(63.5%, 62.7%, 0%, 5.5%)
CIE-LABlab(46.63, 44.11, -76.18)
CIE-LCHlch(46.63, 88.03, 300.07°)
OKLaboklab(55.79% 0.0229 -0.2196)
OKLCHoklch(55.79% 0.221 276)
XYZxyz(23.5527, 15.7359, 84.9982)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585AF1 #F1EF58
analogous
#58A6F1 #585AF1 #A358F1
triadic
#585AF1 #F1585A #5AF158
tetradic
#585AF1 #F158A6 #F1EF58 #58F1A3
square
#585AF1 #F158A6 #F1EF58 #58F1A3
split-complementary
#585AF1 #F1A358 #A6F158
monochromatic
#1012BF #2022EC #585AF1 #9092F6 #C9CAFA

Accessibility & contrast

On white

5.06
#585AF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#585AF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585AF1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585AF1#FFFFFF#000000##FFFFFF
##585AF11.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F6
Deuteranopia (green-blind)
#0068EE
Tritanopia (blue-blind)
#00809D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #585af1;
/* rgb */ color: rgb(88, 90, 241);
/* oklch */ color: oklch(55.8% 0.221 276.0);
Tailwind
colors: {
  custom: {
    50: '#9789f7',
    500: '#585af1',
    950: '#000000',
  },
}
SCSS
$custom: #585af1;
$custom-light: #9789f7;
$custom-dark: #000000;
JSON
{
  "hex": "#585af1",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 241
  },
  "hsl": {
    "h": 239.216,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.55794,
    "c": 0.22076,
    "h": 276
  },
  "luminance": 0.15738
}

Semantic roles & 50–950 ramp

primary
#585AF1
secondary
#EDECB8
accent
#DE05E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #585AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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