#585FC4#585FC4

#585FC4 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.3% C 0.155 H 276.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#585FC4
RGBrgb(88, 95, 196)
HSLhsl(236, 48%, 56%)
HSVhsv(236, 55%, 77%)
CMYKcmyk(55.1%, 51.5%, 0%, 23.1%)
CIE-LABlab(44.58, 26.42, -53.87)
CIE-LCHlch(44.58, 60.00, 296.13°)
OKLaboklab(53.26% 0.0183 -0.154)
OKLCHoklch(53.26% 0.155 276.8)
XYZxyz(18.0773, 14.2434, 54.0105)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FC4 #C4BD58
analogous
#5895C4 #585FC4 #8758C4
triadic
#585FC4 #C4585F #5FC458
tetradic
#585FC4 #C45895 #C4BD58 #58C487
square
#585FC4 #C45895 #C4BD58 #58C487
split-complementary
#585FC4 #C48758 #95C458
monochromatic
#2A2F77 #3A41A5 #585FC4 #858AD4 #B2B6E4

Accessibility & contrast

On white

5.46
#585FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#585FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FC4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FC4#FFFFFF#000000##FFFFFF
##585FC41.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296EC8
Deuteranopia (green-blind)
#1765C2
Tritanopia (blue-blind)
#217688
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #585fc4;
/* rgb */ color: rgb(88, 95, 196);
/* oklch */ color: oklch(53.3% 0.155 276.8);
Tailwind
colors: {
  custom: {
    50: '#8f8cd6',
    500: '#585fc4',
    950: '#000000',
  },
}
SCSS
$custom: #585fc4;
$custom-light: #8f8cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#585fc4",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 236.111,
    "s": 47.788,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53255,
    "c": 0.15504,
    "h": 276.8
  },
  "luminance": 0.14245
}

Semantic roles & 50–950 ramp

primary
#585FC4
secondary
#D2CFA5
accent
#CF50D7
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #585FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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