#585BB7#585BB7

#585BB7 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.142 H 278.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#585BB7
RGBrgb(88, 91, 183)
HSLhsl(238, 40%, 53%)
HSVhsv(238, 52%, 72%)
CMYKcmyk(51.9%, 50.3%, 0%, 28.2%)
CIE-LABlab(42.73, 24.72, -49.29)
CIE-LCHlch(42.73, 55.15, 296.64°)
OKLaboklab(51.59% 0.0217 -0.1405)
OKLCHoklch(51.59% 0.142 278.8)
XYZxyz(16.3102, 12.9748, 46.4355)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585BB7 #B7B458
analogous
#588AB7 #585BB7 #8458B7
triadic
#585BB7 #B7585B #5BB758
tetradic
#585BB7 #B7588A #B7B458 #58B784
square
#585BB7 #B7588A #B7B458 #58B784
split-complementary
#585BB7 #B78458 #8AB758
monochromatic
#2D2F68 #3F4293 #585BB7 #8385C9 #AEAFDC

Accessibility & contrast

On white

5.84
#585BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#585BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585BB7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585BB7#FFFFFF#000000##FFFFFF
##585BB71.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F69BA
Deuteranopia (green-blind)
#2461B5
Tritanopia (blue-blind)
#306F80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #585bb7;
/* rgb */ color: rgb(88, 91, 183);
/* oklch */ color: oklch(51.6% 0.142 278.8);
Tailwind
colors: {
  custom: {
    50: '#8e89cd',
    500: '#585bb7',
    950: '#000000',
  },
}
SCSS
$custom: #585bb7;
$custom-light: #8e89cd;
$custom-dark: #000000;
JSON
{
  "hex": "#585bb7",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 238.105,
    "s": 39.749,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51594,
    "c": 0.14218,
    "h": 278.8
  },
  "luminance": 0.12976
}

Semantic roles & 50–950 ramp

primary
#585BB7
secondary
#CAC9A1
accent
#CC58D0
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #585BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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