#585EA8#585EA8

#585EA8 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.2% C 0.116 H 278.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#585EA8
RGBrgb(88, 94, 168)
HSLhsl(236, 31%, 50%)
HSVhsv(236, 48%, 66%)
CMYKcmyk(47.6%, 44%, 0%, 34.1%)
CIE-LABlab(42.62, 18.08, -40.64)
CIE-LCHlch(42.62, 44.48, 293.98°)
OKLaboklab(51.23% 0.0161 -0.1151)
OKLCHoklch(51.23% 0.116 278)
XYZxyz(15.0929, 12.9065, 38.7341)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585EA8 #A8A258
analogous
#5886A8 #585EA8 #7A58A8
triadic
#585EA8 #A8585E #5EA858
tetradic
#585EA8 #A85886 #A8A258 #58A87A
square
#585EA8 #A85886 #A8A258 #58A87A
split-complementary
#585EA8 #A87A58 #86A858
monochromatic
#2E3158 #434780 #585EA8 #8085BD #A8ACD2

Accessibility & contrast

On white

5.86
#585EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#585EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585EA8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585EA8#FFFFFF#000000##FFFFFF
##585EA81.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4168AB
Deuteranopia (green-blind)
#3A62A6
Tritanopia (blue-blind)
#3B6D7B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #585ea8;
/* rgb */ color: rgb(88, 94, 168);
/* oklch */ color: oklch(51.2% 0.116 278.0);
Tailwind
colors: {
  custom: {
    50: '#8c8bc2',
    500: '#585ea8',
    950: '#000000',
  },
}
SCSS
$custom: #585ea8;
$custom-light: #8c8bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#585ea8",
  "rgb": {
    "r": 88,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 235.5,
    "s": 31.496,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51226,
    "c": 0.11623,
    "h": 278
  },
  "luminance": 0.12907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #585EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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