#585AB1#585AB1

#585AB1 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.135 H 279.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#585AB1
RGBrgb(88, 90, 177)
HSLhsl(239, 36%, 52%)
HSVhsv(239, 50%, 69%)
CMYKcmyk(50.3%, 49.2%, 0%, 30.6%)
CIE-LABlab(42.09, 23.44, -46.79)
CIE-LCHlch(42.09, 52.33, 296.61°)
OKLaboklab(51% 0.0222 -0.1332)
OKLCHoklch(51% 0.135 279.5)
XYZxyz(15.6140, 12.5605, 43.1881)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585AB1 #B1AF58
analogous
#5887B1 #585AB1 #8358B1
triadic
#585AB1 #B1585A #5AB158
tetradic
#585AB1 #B15887 #B1AF58 #58B183
square
#585AB1 #B15887 #B1AF58 #58B183
split-complementary
#585AB1 #B18358 #87B158
monochromatic
#2D2F61 #41438B #585AB1 #8283C4 #ABACD8

Accessibility & contrast

On white

5.98
#585AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#585AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585AB1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585AB1#FFFFFF#000000##FFFFFF
##585AB11.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B4
Deuteranopia (green-blind)
#2A60AF
Tritanopia (blue-blind)
#356D7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #585ab1;
/* rgb */ color: rgb(88, 90, 177);
/* oklch */ color: oklch(51.0% 0.135 279.5);
Tailwind
colors: {
  custom: {
    50: '#8d88c9',
    500: '#585ab1',
    950: '#000000',
  },
}
SCSS
$custom: #585ab1;
$custom-light: #8d88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#585ab1",
  "rgb": {
    "r": 88,
    "g": 90,
    "b": 177
  },
  "hsl": {
    "h": 238.652,
    "s": 36.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50997,
    "c": 0.13501,
    "h": 279.5
  },
  "luminance": 0.12561
}

Semantic roles & 50–950 ramp

primary
#585AB1
secondary
#C6C59F
accent
#CA5BCC
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #585AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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