#585DB2#585DB2

#585DB2 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.7% C 0.132 H 278.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#585DB2
RGBrgb(88, 93, 178)
HSLhsl(237, 37%, 52%)
HSVhsv(237, 51%, 70%)
CMYKcmyk(50.6%, 47.8%, 0%, 30.2%)
CIE-LABlab(42.94, 21.87, -46.02)
CIE-LCHlch(42.94, 50.95, 295.42°)
OKLaboklab(51.66% 0.0188 -0.1309)
OKLCHoklch(51.66% 0.132 278.2)
XYZxyz(15.9722, 13.1168, 43.8010)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585DB2 #B2AD58
analogous
#588AB2 #585DB2 #8058B2
triadic
#585DB2 #B2585D #5DB258
tetradic
#585DB2 #B2588A #B2AD58 #58B280
square
#585DB2 #B2588A #B2AD58 #58B280
split-complementary
#585DB2 #B28058 #8AB258
monochromatic
#2D3062 #41458C #585DB2 #8286C5 #ACAED9

Accessibility & contrast

On white

5.80
#585DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#585DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585DB2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585DB2#FFFFFF#000000##FFFFFF
##585DB21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#2F62B0
Tritanopia (blue-blind)
#346F7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #585db2;
/* rgb */ color: rgb(88, 93, 178);
/* oklch */ color: oklch(51.7% 0.132 278.2);
Tailwind
colors: {
  custom: {
    50: '#8d8ac9',
    500: '#585db2',
    950: '#000000',
  },
}
SCSS
$custom: #585db2;
$custom-light: #8d8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#585db2",
  "rgb": {
    "r": 88,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 236.667,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51656,
    "c": 0.13224,
    "h": 278.2
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

primary
#585DB2
secondary
#C7C49F
accent
#C75BCD
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #585DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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