#585BA2#585BA2

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

Color values

HEX#585BA2
RGBrgb(88, 91, 162)
HSLhsl(238, 30%, 49%)
HSVhsv(238, 46%, 64%)
CMYKcmyk(45.7%, 43.8%, 0%, 36.5%)
CIE-LABlab(41.48, 18.09, -38.90)
CIE-LCHlch(41.48, 42.91, 294.94°)
OKLaboklab(50.25% 0.0189 -0.11)
OKLCHoklch(50.25% 0.112 279.7)
XYZxyz(14.2852, 12.1648, 35.7708)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585BA2 #A29F58
analogous
#5880A2 #585BA2 #7A58A2
triadic
#585BA2 #A2585B #5BA258
tetradic
#585BA2 #A25880 #A29F58 #58A27A
square
#585BA2 #A25880 #A29F58 #58A27A
split-complementary
#585BA2 #A27A58 #80A258
monochromatic
#2D2E53 #42457A #585BA2 #7E81B9 #A6A7CF

Accessibility & contrast

On white

6.12
#585BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#585BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585BA2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585BA2#FFFFFF#000000##FFFFFF
##585BA21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#3B5FA0
Tritanopia (blue-blind)
#3F6A76
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #585ba2;
/* rgb */ color: rgb(88, 91, 162);
/* oklch */ color: oklch(50.2% 0.112 279.7);
Tailwind
colors: {
  custom: {
    50: '#8b89be',
    500: '#585ba2',
    950: '#000000',
  },
}
SCSS
$custom: #585ba2;
$custom-light: #8b89be;
$custom-dark: #000000;
JSON
{
  "hex": "#585ba2",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 237.568,
    "s": 29.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50245,
    "c": 0.11166,
    "h": 279.7
  },
  "luminance": 0.12166
}

Semantic roles & 50–950 ramp

primary
#585BA2
secondary
#BCBB99
accent
#C262C6
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #585BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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