#585FA4#585FA4

#585FA4 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.2% C 0.109 H 277.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#585FA4
RGBrgb(88, 95, 164)
HSLhsl(234, 30%, 49%)
HSVhsv(234, 46%, 64%)
CMYKcmyk(46.3%, 42.1%, 0%, 35.7%)
CIE-LABlab(42.67, 16.20, -38.20)
CIE-LCHlch(42.67, 41.49, 292.98°)
OKLaboklab(51.19% 0.0141 -0.108)
OKLCHoklch(51.19% 0.109 277.4)
XYZxyz(14.8155, 12.9387, 36.8315)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FA4 #A49D58
analogous
#5885A4 #585FA4 #7758A4
triadic
#585FA4 #A4585F #5FA458
tetradic
#585FA4 #A45885 #A49D58 #58A477
square
#585FA4 #A45885 #A49D58 #58A477
split-complementary
#585FA4 #A47758 #85A458
monochromatic
#2D3154 #43487C #585FA4 #7F84BA #A7ABD0

Accessibility & contrast

On white

5.85
#585FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#585FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FA4
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FA4#FFFFFF#000000##FFFFFF
##585FA41.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4568A7
Deuteranopia (green-blind)
#3F62A2
Tritanopia (blue-blind)
#3D6D79
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #585fa4;
/* rgb */ color: rgb(88, 95, 164);
/* oklch */ color: oklch(51.2% 0.109 277.4);
Tailwind
colors: {
  custom: {
    50: '#8b8cbf',
    500: '#585fa4',
    950: '#000000',
  },
}
SCSS
$custom: #585fa4;
$custom-light: #8b8cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#585fa4",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 234.474,
    "s": 30.159,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51191,
    "c": 0.10888,
    "h": 277.4
  },
  "luminance": 0.12939
}

Semantic roles & 50–950 ramp

primary
#585FA4
secondary
#BDBA9A
accent
#BD61C6
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #585FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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