#585EA2#585EA2

#585EA2 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 50.9% C 0.107 H 278.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#585EA2
RGBrgb(88, 94, 162)
HSLhsl(235, 30%, 49%)
HSVhsv(235, 46%, 64%)
CMYKcmyk(45.7%, 42%, 0%, 36.5%)
CIE-LABlab(42.29, 16.21, -37.62)
CIE-LCHlch(42.29, 40.96, 293.31°)
OKLaboklab(50.86% 0.015 -0.1063)
OKLCHoklch(50.86% 0.107 278)
XYZxyz(14.5468, 12.6880, 35.8580)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585EA2 #A29C58
analogous
#5883A2 #585EA2 #7758A2
triadic
#585EA2 #A2585E #5EA258
tetradic
#585EA2 #A25883 #A29C58 #58A277
square
#585EA2 #A25883 #A29C58 #58A277
split-complementary
#585EA2 #A27758 #83A258
monochromatic
#2D3053 #42477A #585EA2 #7E83B9 #A6A9CF

Accessibility & contrast

On white

5.94
#585EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#585EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585EA2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585EA2#FFFFFF#000000##FFFFFF
##585EA21.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#3F61A0
Tritanopia (blue-blind)
#3F6C78
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #585ea2;
/* rgb */ color: rgb(88, 94, 162);
/* oklch */ color: oklch(50.9% 0.107 278.0);
Tailwind
colors: {
  custom: {
    50: '#8b8bbe',
    500: '#585ea2',
    950: '#000000',
  },
}
SCSS
$custom: #585ea2;
$custom-light: #8b8bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#585ea2",
  "rgb": {
    "r": 88,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 235.135,
    "s": 29.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50864,
    "c": 0.10732,
    "h": 278
  },
  "luminance": 0.12689
}

Semantic roles & 50–950 ramp

primary
#585EA2
secondary
#BCBA99
accent
#BE62C6
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #585EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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