#585AE4#585AE4

#585AE4 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.7% C 0.204 H 276.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#585AE4
RGBrgb(88, 90, 228)
HSLhsl(239, 72%, 62%)
HSVhsv(239, 61%, 89%)
CMYKcmyk(61.4%, 60.5%, 0%, 10.6%)
CIE-LABlab(45.62, 39.91, -70.50)
CIE-LCHlch(45.62, 81.01, 299.51°)
OKLaboklab(54.74% 0.0236 -0.2029)
OKLCHoklch(54.74% 0.204 276.6)
XYZxyz(21.6797, 14.9868, 75.1340)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585AE4 #E4E258
analogous
#58A0E4 #585AE4 #9C58E4
triadic
#585AE4 #E4585A #5AE458
tetradic
#585AE4 #E458A0 #E4E258 #58E49C
square
#585AE4 #E458A0 #E4E258 #58E49C
split-complementary
#585AE4 #E49C58 #A0E458
monochromatic
#1B1DA7 #2326DB #585AE4 #8D8EED #C1C2F5

Accessibility & contrast

On white

5.25
#585AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#585AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585AE4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585AE4#FFFFFF#000000##FFFFFF
##585AE41.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#0066E1
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #585ae4;
/* rgb */ color: rgb(88, 90, 228);
/* oklch */ color: oklch(54.7% 0.204 276.6);
Tailwind
colors: {
  custom: {
    50: '#9589ed',
    500: '#585ae4',
    950: '#000000',
  },
}
SCSS
$custom: #585ae4;
$custom-light: #9589ed;
$custom-dark: #000000;
JSON
{
  "hex": "#585ae4",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 239.143,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54738,
    "c": 0.20427,
    "h": 276.6
  },
  "luminance": 0.14988
}

Semantic roles & 50–950 ramp

primary
#585AE4
secondary
#E6E5B2
accent
#D111D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #585AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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