#585CB8#585CB8

#585CB8 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.142 H 278.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#585CB8
RGBrgb(88, 92, 184)
HSLhsl(238, 40%, 53%)
HSVhsv(238, 52%, 72%)
CMYKcmyk(52.2%, 50%, 0%, 27.8%)
CIE-LABlab(43.05, 24.42, -49.36)
CIE-LCHlch(43.05, 55.07, 296.32°)
OKLaboklab(51.86% 0.0206 -0.1407)
OKLCHoklch(51.86% 0.142 278.3)
XYZxyz(16.5007, 13.1887, 47.0143)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CB8 #B8B458
analogous
#588CB8 #585CB8 #8458B8
triadic
#585CB8 #B8585C #5CB858
tetradic
#585CB8 #B8588C #B8B458 #58B884
square
#585CB8 #B8588C #B8B458 #58B884
split-complementary
#585CB8 #B88458 #8CB858
monochromatic
#2D2F69 #3F4294 #585CB8 #8386CA #AEB0DD

Accessibility & contrast

On white

5.77
#585CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#585CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CB8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CB8#FFFFFF#000000##FFFFFF
##585CB81.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306ABB
Deuteranopia (green-blind)
#2562B6
Tritanopia (blue-blind)
#2F7081
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #585cb8;
/* rgb */ color: rgb(88, 92, 184);
/* oklch */ color: oklch(51.9% 0.142 278.3);
Tailwind
colors: {
  custom: {
    50: '#8e8ace',
    500: '#585cb8',
    950: '#000000',
  },
}
SCSS
$custom: #585cb8;
$custom-light: #8e8ace;
$custom-dark: #000000;
JSON
{
  "hex": "#585cb8",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 184
  },
  "hsl": {
    "h": 237.5,
    "s": 40.336,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51856,
    "c": 0.14222,
    "h": 278.3
  },
  "luminance": 0.1319
}

Semantic roles & 50–950 ramp

primary
#585CB8
secondary
#CBC9A1
accent
#CB58D0
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #585CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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