#585BB1#585BB1

#585BB1 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.134 H 279.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#585BB1
RGBrgb(88, 91, 177)
HSLhsl(238, 36%, 52%)
HSVhsv(238, 50%, 69%)
CMYKcmyk(50.3%, 48.6%, 0%, 30.6%)
CIE-LABlab(42.35, 22.81, -46.37)
CIE-LCHlch(42.35, 51.68, 296.19°)
OKLaboklab(51.19% 0.021 -0.1319)
OKLCHoklch(51.19% 0.134 279.1)
XYZxyz(15.6990, 12.7303, 43.2164)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585BB1 #B1AE58
analogous
#5887B1 #585BB1 #8258B1
triadic
#585BB1 #B1585B #5BB158
tetradic
#585BB1 #B15887 #B1AE58 #58B182
square
#585BB1 #B15887 #B1AE58 #58B182
split-complementary
#585BB1 #B18258 #87B158
monochromatic
#2D2F61 #41438B #585BB1 #8284C4 #ABADD8

Accessibility & contrast

On white

5.92
#585BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#585BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585BB1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585BB1#FFFFFF#000000##FFFFFF
##585BB11.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B4
Deuteranopia (green-blind)
#2C61AF
Tritanopia (blue-blind)
#356E7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #585bb1;
/* rgb */ color: rgb(88, 91, 177);
/* oklch */ color: oklch(51.2% 0.134 279.1);
Tailwind
colors: {
  custom: {
    50: '#8d89c9',
    500: '#585bb1',
    950: '#000000',
  },
}
SCSS
$custom: #585bb1;
$custom-light: #8d89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#585bb1",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 237.978,
    "s": 36.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51194,
    "c": 0.13361,
    "h": 279.1
  },
  "luminance": 0.12731
}

Semantic roles & 50–950 ramp

primary
#585BB1
secondary
#C6C59F
accent
#C95BCC
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #585BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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