#585BB4#585BB4

#585BB4 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.4% C 0.138 H 278.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#585BB4
RGBrgb(88, 91, 180)
HSLhsl(238, 38%, 53%)
HSVhsv(238, 51%, 71%)
CMYKcmyk(51.1%, 49.4%, 0%, 29.4%)
CIE-LABlab(42.54, 23.76, -47.84)
CIE-LCHlch(42.54, 53.41, 296.42°)
OKLaboklab(51.39% 0.0214 -0.1362)
OKLCHoklch(51.39% 0.138 278.9)
XYZxyz(16.0013, 12.8512, 44.8085)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585BB4 #B4B158
analogous
#5889B4 #585BB4 #8358B4
triadic
#585BB4 #B4585B #5BB458
tetradic
#585BB4 #B45889 #B4B158 #58B483
square
#585BB4 #B45889 #B4B158 #58B483
split-complementary
#585BB4 #B48358 #89B458
monochromatic
#2D2F64 #40438F #585BB4 #8284C7 #ACAEDA

Accessibility & contrast

On white

5.88
#585BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#585BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585BB4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585BB4#FFFFFF#000000##FFFFFF
##585BB41.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B7
Deuteranopia (green-blind)
#2961B2
Tritanopia (blue-blind)
#336E7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #585bb4;
/* rgb */ color: rgb(88, 91, 180);
/* oklch */ color: oklch(51.4% 0.138 278.9);
Tailwind
colors: {
  custom: {
    50: '#8d89cb',
    500: '#585bb4',
    950: '#000000',
  },
}
SCSS
$custom: #585bb4;
$custom-light: #8d89cb;
$custom-dark: #000000;
JSON
{
  "hex": "#585bb4",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 238.043,
    "s": 38.017,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51393,
    "c": 0.13791,
    "h": 278.9
  },
  "luminance": 0.12852
}

Semantic roles & 50–950 ramp

primary
#585BB4
secondary
#C8C7A0
accent
#CA5ACE
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #585BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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