#585CB7#585CB7

#585CB7 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.8% C 0.141 H 278.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#585CB7
RGBrgb(88, 92, 183)
HSLhsl(237, 40%, 53%)
HSVhsv(237, 52%, 72%)
CMYKcmyk(51.9%, 49.7%, 0%, 28.2%)
CIE-LABlab(42.98, 24.10, -48.88)
CIE-LCHlch(42.98, 54.49, 296.24°)
OKLaboklab(51.79% 0.0205 -0.1393)
OKLCHoklch(51.79% 0.141 278.4)
XYZxyz(16.3962, 13.1469, 46.4642)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CB7 #B7B358
analogous
#588BB7 #585CB7 #8358B7
triadic
#585CB7 #B7585C #5CB758
tetradic
#585CB7 #B7588B #B7B358 #58B783
square
#585CB7 #B7588B #B7B358 #58B783
split-complementary
#585CB7 #B78358 #8BB758
monochromatic
#2D2F68 #3F4393 #585CB7 #8386C9 #AEAFDC

Accessibility & contrast

On white

5.79
#585CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#585CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CB7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CB7#FFFFFF#000000##FFFFFF
##585CB71.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3169BA
Deuteranopia (green-blind)
#2762B5
Tritanopia (blue-blind)
#307081
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #585cb7;
/* rgb */ color: rgb(88, 92, 183);
/* oklch */ color: oklch(51.8% 0.141 278.4);
Tailwind
colors: {
  custom: {
    50: '#8e8acd',
    500: '#585cb7',
    950: '#000000',
  },
}
SCSS
$custom: #585cb7;
$custom-light: #8e8acd;
$custom-dark: #000000;
JSON
{
  "hex": "#585cb7",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 183
  },
  "hsl": {
    "h": 237.474,
    "s": 39.749,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51789,
    "c": 0.1408,
    "h": 278.4
  },
  "luminance": 0.13148
}

Semantic roles & 50–950 ramp

primary
#585CB7
secondary
#CAC8A1
accent
#CB58D0
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #585CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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