#585DB5#585DB5

#585DB5 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.137 H 278.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#585DB5
RGBrgb(88, 93, 181)
HSLhsl(237, 39%, 53%)
HSVhsv(237, 51%, 71%)
CMYKcmyk(51.4%, 48.6%, 0%, 29%)
CIE-LABlab(43.12, 22.83, -47.49)
CIE-LCHlch(43.12, 52.69, 295.68°)
OKLaboklab(51.85% 0.0191 -0.1352)
OKLCHoklch(51.85% 0.137 278.1)
XYZxyz(16.2767, 13.2386, 45.4047)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585DB5 #B5B058
analogous
#588CB5 #585DB5 #8158B5
triadic
#585DB5 #B5585D #5DB558
tetradic
#585DB5 #B5588C #B5B058 #58B581
square
#585DB5 #B5588C #B5B058 #58B581
split-complementary
#585DB5 #B58158 #8CB558
monochromatic
#2D3066 #404490 #585DB5 #8286C8 #ADAFDB

Accessibility & contrast

On white

5.76
#585DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#585DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585DB5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585DB5#FFFFFF#000000##FFFFFF
##585DB51.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356AB8
Deuteranopia (green-blind)
#2C62B3
Tritanopia (blue-blind)
#327080
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #585db5;
/* rgb */ color: rgb(88, 93, 181);
/* oklch */ color: oklch(51.9% 0.137 278.1);
Tailwind
colors: {
  custom: {
    50: '#8d8acc',
    500: '#585db5',
    950: '#000000',
  },
}
SCSS
$custom: #585db5;
$custom-light: #8d8acc;
$custom-dark: #000000;
JSON
{
  "hex": "#585db5",
  "rgb": {
    "r": 88,
    "g": 93,
    "b": 181
  },
  "hsl": {
    "h": 236.774,
    "s": 38.589,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51852,
    "c": 0.13656,
    "h": 278.1
  },
  "luminance": 0.1324
}

Semantic roles & 50–950 ramp

primary
#585DB5
secondary
#C9C6A0
accent
#C859CF
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #585DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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