#585FB5#585FB5

#585FB5 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.2% C 0.134 H 277.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#585FB5
RGBrgb(88, 95, 181)
HSLhsl(235, 39%, 53%)
HSVhsv(235, 51%, 71%)
CMYKcmyk(51.4%, 47.5%, 0%, 29%)
CIE-LABlab(43.65, 21.58, -46.65)
CIE-LCHlch(43.65, 51.40, 294.82°)
OKLaboklab(52.25% 0.0168 -0.1327)
OKLCHoklch(52.25% 0.134 277.2)
XYZxyz(16.4546, 13.5943, 45.4640)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FB5 #B5AE58
analogous
#588DB5 #585FB5 #7F58B5
triadic
#585FB5 #B5585F #5FB558
tetradic
#585FB5 #B5588D #B5AE58 #58B57F
square
#585FB5 #B5588D #B5AE58 #58B57F
split-complementary
#585FB5 #B57F58 #8DB558
monochromatic
#2D3166 #404690 #585FB5 #8288C8 #ADB0DB

Accessibility & contrast

On white

5.65
#585FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#585FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FB5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FB5#FFFFFF#000000##FFFFFF
##585FB51.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396BB8
Deuteranopia (green-blind)
#3064B3
Tritanopia (blue-blind)
#317281
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #585fb5;
/* rgb */ color: rgb(88, 95, 181);
/* oklch */ color: oklch(52.2% 0.134 277.2);
Tailwind
colors: {
  custom: {
    50: '#8d8ccc',
    500: '#585fb5',
    950: '#000000',
  },
}
SCSS
$custom: #585fb5;
$custom-light: #8d8ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#585fb5",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 235.484,
    "s": 38.589,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.13379,
    "h": 277.2
  },
  "luminance": 0.13595
}

Semantic roles & 50–950 ramp

primary
#585FB5
secondary
#C9C6A0
accent
#C659CF
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #585FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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