#585BA4#585BA4

#585BA4 is a mid, moderate blue. Relative luminance 0.122; OKLCH L 50.4% C 0.115 H 279.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#585BA4
RGBrgb(88, 91, 164)
HSLhsl(238, 30%, 49%)
HSVhsv(238, 46%, 64%)
CMYKcmyk(46.3%, 44.5%, 0%, 35.7%)
CIE-LABlab(41.59, 18.72, -39.91)
CIE-LCHlch(41.59, 44.08, 295.12°)
OKLaboklab(50.37% 0.0192 -0.113)
OKLCHoklch(50.37% 0.115 279.7)
XYZxyz(14.4644, 12.2365, 36.7145)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585BA4 #A4A158
analogous
#5881A4 #585BA4 #7B58A4
triadic
#585BA4 #A4585B #5BA458
tetradic
#585BA4 #A45881 #A4A158 #58A47B
square
#585BA4 #A45881 #A4A158 #58A47B
split-complementary
#585BA4 #A47B58 #81A458
monochromatic
#2D2F54 #43457C #585BA4 #7F81BA #A7A8D0

Accessibility & contrast

On white

6.09
#585BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#585BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585BA4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585BA4#FFFFFF#000000##FFFFFF
##585BA41.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E65A7
Deuteranopia (green-blind)
#395FA2
Tritanopia (blue-blind)
#3E6A77
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #585ba4;
/* rgb */ color: rgb(88, 91, 164);
/* oklch */ color: oklch(50.4% 0.115 279.7);
Tailwind
colors: {
  custom: {
    50: '#8b89bf',
    500: '#585ba4',
    950: '#000000',
  },
}
SCSS
$custom: #585ba4;
$custom-light: #8b89bf;
$custom-dark: #000000;
JSON
{
  "hex": "#585ba4",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 164
  },
  "hsl": {
    "h": 237.632,
    "s": 30.159,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50367,
    "c": 0.11462,
    "h": 279.7
  },
  "luminance": 0.12237
}

Semantic roles & 50–950 ramp

primary
#585BA4
secondary
#BDBC9A
accent
#C261C6
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #585BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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