#585FA2#585FA2

#585FA2 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.1% C 0.106 H 277.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#585FA2
RGBrgb(88, 95, 162)
HSLhsl(234, 30%, 49%)
HSVhsv(234, 46%, 64%)
CMYKcmyk(45.7%, 41.4%, 0%, 36.5%)
CIE-LABlab(42.56, 15.58, -37.18)
CIE-LCHlch(42.56, 40.31, 292.73°)
OKLaboklab(51.07% 0.0137 -0.105)
OKLCHoklch(51.07% 0.106 277.4)
XYZxyz(14.6363, 12.8670, 35.8878)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FA2 #A29B58
analogous
#5884A2 #585FA2 #7658A2
triadic
#585FA2 #A2585F #5FA258
tetradic
#585FA2 #A25884 #A29B58 #58A276
square
#585FA2 #A25884 #A29B58 #58A276
split-complementary
#585FA2 #A27658 #84A258
monochromatic
#2D3053 #42487A #585FA2 #7E84B9 #A6AACF

Accessibility & contrast

On white

5.88
#585FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#585FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FA2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FA2#FFFFFF#000000##FFFFFF
##585FA21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4667A5
Deuteranopia (green-blind)
#4062A0
Tritanopia (blue-blind)
#3F6D78
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #585fa2;
/* rgb */ color: rgb(88, 95, 162);
/* oklch */ color: oklch(51.1% 0.106 277.4);
Tailwind
colors: {
  custom: {
    50: '#8b8cbe',
    500: '#585fa2',
    950: '#000000',
  },
}
SCSS
$custom: #585fa2;
$custom-light: #8b8cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#585fa2",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 234.324,
    "s": 29.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51073,
    "c": 0.10589,
    "h": 277.4
  },
  "luminance": 0.12868
}

Semantic roles & 50–950 ramp

primary
#585FA2
secondary
#BCB999
accent
#BC62C6
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #585FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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