#585DA8#585DA8

#585DA8 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 51.0% C 0.118 H 278.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#585DA8
RGBrgb(88, 93, 168)
HSLhsl(236, 31%, 50%)
HSVhsv(236, 48%, 66%)
CMYKcmyk(47.6%, 44.6%, 0%, 34.1%)
CIE-LABlab(42.35, 18.71, -41.07)
CIE-LCHlch(42.35, 45.13, 294.49°)
OKLaboklab(51.02% 0.0173 -0.1164)
OKLCHoklch(51.02% 0.118 278.5)
XYZxyz(15.0046, 12.7298, 38.7047)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585DA8 #A8A358
analogous
#5885A8 #585DA8 #7B58A8
triadic
#585DA8 #A8585D #5DA858
tetradic
#585DA8 #A85885 #A8A358 #58A87B
square
#585DA8 #A85885 #A8A358 #58A87B
split-complementary
#585DA8 #A87B58 #85A858
monochromatic
#2E3058 #434780 #585DA8 #8084BD #A8ABD2

Accessibility & contrast

On white

5.92
#585DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#585DA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585DA8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585DA8#FFFFFF#000000##FFFFFF
##585DA81.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F67AB
Deuteranopia (green-blind)
#3961A6
Tritanopia (blue-blind)
#3B6D7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #585da8;
/* rgb */ color: rgb(88, 93, 168);
/* oklch */ color: oklch(51.0% 0.118 278.5);
Tailwind
colors: {
  custom: {
    50: '#8c8ac2',
    500: '#585da8',
    950: '#000000',
  },
}
SCSS
$custom: #585da8;
$custom-light: #8c8ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#585da8",
  "rgb": {
    "r": 88,
    "g": 93,
    "b": 168
  },
  "hsl": {
    "h": 236.25,
    "s": 31.496,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51022,
    "c": 0.11765,
    "h": 278.5
  },
  "luminance": 0.12731
}

Semantic roles & 50–950 ramp

primary
#585DA8
secondary
#C0BE9C
accent
#C160C8
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #585DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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