#585D98#585D98

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

Color values

HEX#585D98
RGBrgb(88, 93, 152)
HSLhsl(235, 27%, 47%)
HSVhsv(235, 42%, 60%)
CMYKcmyk(42.1%, 38.8%, 0%, 40.4%)
CIE-LABlab(41.48, 13.77, -32.93)
CIE-LCHlch(41.48, 35.69, 292.69°)
OKLaboklab(50.08% 0.0143 -0.0926)
OKLCHoklch(50.08% 0.094 278.8)
XYZxyz(13.6047, 12.1698, 31.3318)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585D98 #989358
analogous
#587D98 #585D98 #735898
triadic
#585D98 #98585D #5D9858
tetradic
#585D98 #98587D #989358 #589873
square
#585D98 #98587D #989358 #589873
split-complementary
#585D98 #987358 #7D9858
monochromatic
#2B2E4A #424571 #585D98 #7B7FB2 #A2A5C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##585D98#FFFFFF#000000##FFFFFF
##585D981.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)
#49649A
Deuteranopia (green-blind)
#446097
Tritanopia (blue-blind)
#446973
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #585d98;
/* rgb */ color: rgb(88, 93, 152);
/* oklch */ color: oklch(50.1% 0.094 278.8);
Tailwind
colors: {
  custom: {
    50: '#8a8ab6',
    500: '#585d98',
    950: '#000000',
  },
}
SCSS
$custom: #585d98;
$custom-light: #8a8ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#585d98",
  "rgb": {
    "r": 88,
    "g": 93,
    "b": 152
  },
  "hsl": {
    "h": 235.313,
    "s": 26.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50075,
    "c": 0.09369,
    "h": 278.8
  },
  "luminance": 0.1217
}

Semantic roles & 50–950 ramp

primary
#585D98
secondary
#B7B495
accent
#BC65C3
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #585D98

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

Preview Lab → · Contrast checker → · Palette generator →

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