#585FA5#585FA5

#585FA5 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.3% C 0.110 H 277.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#585FA5
RGBrgb(88, 95, 165)
HSLhsl(235, 30%, 50%)
HSVhsv(235, 47%, 65%)
CMYKcmyk(46.7%, 42.4%, 0%, 35.3%)
CIE-LABlab(42.73, 16.51, -38.70)
CIE-LCHlch(42.73, 42.08, 293.10°)
OKLaboklab(51.25% 0.0143 -0.1094)
OKLCHoklch(51.25% 0.11 277.4)
XYZxyz(14.9062, 12.9750, 37.3090)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FA5 #A59E58
analogous
#5886A5 #585FA5 #7758A5
triadic
#585FA5 #A5585F #5FA558
tetradic
#585FA5 #A55886 #A59E58 #58A577
square
#585FA5 #A55886 #A59E58 #58A577
split-complementary
#585FA5 #A57758 #86A558
monochromatic
#2D3155 #43487D #585FA5 #7F85BB #A7ABD0

Accessibility & contrast

On white

5.84
#585FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#585FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FA5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FA5#FFFFFF#000000##FFFFFF
##585FA51.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4468A8
Deuteranopia (green-blind)
#3E62A3
Tritanopia (blue-blind)
#3D6D7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #585fa5;
/* rgb */ color: rgb(88, 95, 165);
/* oklch */ color: oklch(51.3% 0.110 277.4);
Tailwind
colors: {
  custom: {
    50: '#8b8cc0',
    500: '#585fa5',
    950: '#000000',
  },
}
SCSS
$custom: #585fa5;
$custom-light: #8b8cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#585fa5",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 165
  },
  "hsl": {
    "h": 234.545,
    "s": 30.435,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51251,
    "c": 0.11037,
    "h": 277.4
  },
  "luminance": 0.12976
}

Semantic roles & 50–950 ramp

primary
#585FA5
secondary
#BEBB9B
accent
#BD61C7
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #585FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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