#585296#585296

#585296 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.7% C 0.107 H 285.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#585296
RGBrgb(88, 82, 150)
HSLhsl(245, 29%, 45%)
HSVhsv(245, 45%, 59%)
CMYKcmyk(41.3%, 45.3%, 0%, 41.2%)
CIE-LABlab(38.39, 20.12, -36.61)
CIE-LCHlch(38.39, 41.78, 298.79°)
OKLaboklab(47.68% 0.0289 -0.1034)
OKLCHoklch(47.68% 0.107 285.6)
XYZxyz(12.5453, 10.3108, 30.1774)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585296 #909652
analogous
#526E96 #585296 #7A5296
triadic
#585296 #965852 #529658
tetradic
#585296 #96526E #909652 #52967A
square
#585296 #96526E #909652 #52967A
split-complementary
#585296 #967A52 #6E9652
monochromatic
#2A2747 #413C6E #585296 #7873B2 #9E9AC8

Accessibility & contrast

On white

6.86
#585296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#585296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585296
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585296#FFFFFF#000000##FFFFFF
##5852961.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C99
Deuteranopia (green-blind)
#385894
Tritanopia (blue-blind)
#46606D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #585296;
/* rgb */ color: rgb(88, 82, 150);
/* oklch */ color: oklch(47.7% 0.107 285.6);
Tailwind
colors: {
  custom: {
    50: '#8a82b5',
    500: '#585296',
    950: '#000000',
  },
}
SCSS
$custom: #585296;
$custom-light: #8a82b5;
$custom-dark: #000000;
JSON
{
  "hex": "#585296",
  "rgb": {
    "r": 88,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 245.294,
    "s": 29.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47684,
    "c": 0.10734,
    "h": 285.6
  },
  "luminance": 0.10311
}

Semantic roles & 50–950 ramp

primary
#585296
secondary
#B2B58F
accent
#C662BD
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #585296

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

Preview Lab → · Contrast checker → · Palette generator →

#585296 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva