#585BC7#585BC7

#585BC7 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.7% C 0.165 H 277.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#585BC7
RGBrgb(88, 91, 199)
HSLhsl(238, 50%, 56%)
HSVhsv(238, 56%, 78%)
CMYKcmyk(55.8%, 54.3%, 0%, 22%)
CIE-LABlab(43.77, 29.88, -56.91)
CIE-LCHlch(43.77, 64.28, 297.70°)
OKLaboklab(52.71% 0.0227 -0.1629)
OKLCHoklch(52.71% 0.165 277.9)
XYZxyz(18.0711, 13.6792, 55.7098)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585BC7 #C7C458
analogous
#5893C7 #585BC7 #8D58C7
triadic
#585BC7 #C7585B #5BC758
tetradic
#585BC7 #C75893 #C7C458 #58C78D
square
#585BC7 #C75893 #C7C458 #58C78D
split-complementary
#585BC7 #C78D58 #93C758
monochromatic
#292C7B #393CA9 #585BC7 #8688D6 #B4B5E6

Accessibility & contrast

On white

5.62
#585BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#585BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585BC7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585BC7#FFFFFF#000000##FFFFFF
##585BC71.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166CCB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#1D7488
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #585bc7;
/* rgb */ color: rgb(88, 91, 199);
/* oklch */ color: oklch(52.7% 0.165 277.9);
Tailwind
colors: {
  custom: {
    50: '#9089d9',
    500: '#585bc7',
    950: '#000000',
  },
}
SCSS
$custom: #585bc7;
$custom-light: #9089d9;
$custom-dark: #000000;
JSON
{
  "hex": "#585bc7",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 238.378,
    "s": 49.776,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52711,
    "c": 0.16452,
    "h": 277.9
  },
  "luminance": 0.1368
}

Semantic roles & 50–950 ramp

primary
#585BC7
secondary
#D4D3A7
accent
#D64FD9
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #585BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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