#585FA8#585FA8

#585FA8 is a mid, moderate blue. Relative luminance 0.131; OKLCH L 51.4% C 0.115 H 277.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#585FA8
RGBrgb(88, 95, 168)
HSLhsl(235, 31%, 50%)
HSVhsv(235, 48%, 66%)
CMYKcmyk(47.6%, 43.5%, 0%, 34.1%)
CIE-LABlab(42.89, 17.45, -40.21)
CIE-LCHlch(42.89, 43.83, 293.46°)
OKLaboklab(51.43% 0.0148 -0.1138)
OKLCHoklch(51.43% 0.115 277.4)
XYZxyz(15.1824, 13.0855, 38.7639)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FA8 #A8A158
analogous
#5887A8 #585FA8 #7958A8
triadic
#585FA8 #A8585F #5FA858
tetradic
#585FA8 #A85887 #A8A158 #58A879
square
#585FA8 #A85887 #A8A158 #58A879
split-complementary
#585FA8 #A87958 #87A858
monochromatic
#2E3158 #434880 #585FA8 #8086BD #A8ACD2

Accessibility & contrast

On white

5.81
#585FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #585FA8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FA8#FFFFFF#000000##FFFFFF
##585FA81.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4269AB
Deuteranopia (green-blind)
#3C62A6
Tritanopia (blue-blind)
#3B6E7B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #585fa8;
/* rgb */ color: rgb(88, 95, 168);
/* oklch */ color: oklch(51.4% 0.115 277.4);
Tailwind
colors: {
  custom: {
    50: '#8c8cc2',
    500: '#585fa8',
    950: '#000000',
  },
}
SCSS
$custom: #585fa8;
$custom-light: #8c8cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#585fa8",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 234.75,
    "s": 31.496,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51432,
    "c": 0.11481,
    "h": 277.4
  },
  "luminance": 0.13086
}

Semantic roles & 50–950 ramp

primary
#585FA8
secondary
#C0BD9C
accent
#BF60C8
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #585FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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