#585BB5#585BB5

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

Color values

HEX#585BB5
RGBrgb(88, 91, 181)
HSLhsl(238, 39%, 53%)
HSVhsv(238, 51%, 71%)
CMYKcmyk(51.4%, 49.7%, 0%, 29%)
CIE-LABlab(42.60, 24.08, -48.32)
CIE-LCHlch(42.60, 53.99, 296.49°)
OKLaboklab(51.46% 0.0215 -0.1377)
OKLCHoklch(51.46% 0.139 278.9)
XYZxyz(16.1035, 12.8921, 45.3470)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585BB5 #B5B258
analogous
#5889B5 #585BB5 #8458B5
triadic
#585BB5 #B5585B #5BB558
tetradic
#585BB5 #B55889 #B5B258 #58B584
square
#585BB5 #B55889 #B5B258 #58B584
split-complementary
#585BB5 #B58458 #89B558
monochromatic
#2D2F66 #404290 #585BB5 #8285C8 #ADAEDB

Accessibility & contrast

On white

5.87
#585BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#585BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585BB5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585BB5#FFFFFF#000000##FFFFFF
##585BB51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3168B8
Deuteranopia (green-blind)
#2761B3
Tritanopia (blue-blind)
#326F7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #585bb5;
/* rgb */ color: rgb(88, 91, 181);
/* oklch */ color: oklch(51.5% 0.139 278.9);
Tailwind
colors: {
  custom: {
    50: '#8e89cc',
    500: '#585bb5',
    950: '#000000',
  },
}
SCSS
$custom: #585bb5;
$custom-light: #8e89cc;
$custom-dark: #000000;
JSON
{
  "hex": "#585bb5",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 238.065,
    "s": 38.589,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51459,
    "c": 0.13933,
    "h": 278.9
  },
  "luminance": 0.12893
}

Semantic roles & 50–950 ramp

primary
#585BB5
secondary
#C9C7A0
accent
#CB59CF
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #585BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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