#585FC7#585FC7

#585FC7 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.159 H 276.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#585FC7
RGBrgb(88, 95, 199)
HSLhsl(236, 50%, 56%)
HSVhsv(236, 56%, 78%)
CMYKcmyk(55.8%, 52.3%, 0%, 22%)
CIE-LABlab(44.77, 27.40, -55.29)
CIE-LCHlch(44.77, 61.71, 296.36°)
OKLaboklab(53.46% 0.0185 -0.1581)
OKLCHoklch(53.46% 0.159 276.7)
XYZxyz(18.4222, 14.3814, 55.8269)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FC7 #C7C058
analogous
#5897C7 #585FC7 #8958C7
triadic
#585FC7 #C7585F #5FC758
tetradic
#585FC7 #C75897 #C7C058 #58C789
square
#585FC7 #C75897 #C7C058 #58C789
split-complementary
#585FC7 #C78958 #97C758
monochromatic
#292F7B #3940A9 #585FC7 #868BD6 #B4B7E6

Accessibility & contrast

On white

5.42
#585FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#585FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FC7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FC7#FFFFFF#000000##FFFFFF
##585FC71.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#0D65C5
Tritanopia (blue-blind)
#1C778A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #585fc7;
/* rgb */ color: rgb(88, 95, 199);
/* oklch */ color: oklch(53.5% 0.159 276.7);
Tailwind
colors: {
  custom: {
    50: '#908cd9',
    500: '#585fc7',
    950: '#000000',
  },
}
SCSS
$custom: #585fc7;
$custom-light: #908cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#585fc7",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 236.216,
    "s": 49.776,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53464,
    "c": 0.15921,
    "h": 276.7
  },
  "luminance": 0.14383
}

Semantic roles & 50–950 ramp

primary
#585FC7
secondary
#D4D1A7
accent
#D14FD9
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #585FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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