#585BBB#585BBB

#585BBB is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.148 H 278.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#585BBB
RGBrgb(88, 91, 187)
HSLhsl(238, 42%, 54%)
HSVhsv(238, 53%, 73%)
CMYKcmyk(52.9%, 51.3%, 0%, 26.7%)
CIE-LABlab(42.98, 26.01, -51.22)
CIE-LCHlch(42.98, 57.45, 296.92°)
OKLaboklab(51.87% 0.022 -0.1462)
OKLCHoklch(51.87% 0.148 278.6)
XYZxyz(16.7324, 13.1437, 48.6594)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585BBB #BBB858
analogous
#588DBB #585BBB #8758BB
triadic
#585BBB #BB585B #5BBB58
tetradic
#585BBB #BB588D #BBB858 #58BB87
square
#585BBB #BB588D #BBB858 #58BB87
split-complementary
#585BBB #BB8758 #8DBB58
monochromatic
#2C2E6C #3E4198 #585BBB #8386CD #AFB0DE

Accessibility & contrast

On white

5.79
#585BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#585BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585BBB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585BBB#FFFFFF#000000##FFFFFF
##585BBB1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6ABE
Deuteranopia (green-blind)
#1D62B9
Tritanopia (blue-blind)
#2C7082
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #585bbb;
/* rgb */ color: rgb(88, 91, 187);
/* oklch */ color: oklch(51.9% 0.148 278.6);
Tailwind
colors: {
  custom: {
    50: '#8e89d0',
    500: '#585bbb',
    950: '#000000',
  },
}
SCSS
$custom: #585bbb;
$custom-light: #8e89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#585bbb",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 238.182,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51866,
    "c": 0.14784,
    "h": 278.6
  },
  "luminance": 0.13145
}

Semantic roles & 50–950 ramp

primary
#585BBB
secondary
#CDCBA2
accent
#CE56D2
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #585BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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