#585FAF#585FAF

#585FAF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.9% C 0.125 H 277.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#585FAF
RGBrgb(88, 95, 175)
HSLhsl(235, 35%, 52%)
HSVhsv(235, 50%, 69%)
CMYKcmyk(49.7%, 45.7%, 0%, 31.4%)
CIE-LABlab(43.29, 19.66, -43.70)
CIE-LCHlch(43.29, 47.92, 294.22°)
OKLaboklab(51.87% 0.016 -0.1241)
OKLCHoklch(51.87% 0.125 277.3)
XYZxyz(15.8522, 13.3534, 42.2913)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FAF #AFA858
analogous
#588BAF #585FAF #7D58AF
triadic
#585FAF #AF585F #5FAF58
tetradic
#585FAF #AF588B #AFA858 #58AF7D
square
#585FAF #AF588B #AFA858 #58AF7D
split-complementary
#585FAF #AF7D58 #8BAF58
monochromatic
#2E325F #414788 #585FAF #8187C3 #ABAED7

Accessibility & contrast

On white

5.72
#585FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#585FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FAF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FAF#FFFFFF#000000##FFFFFF
##585FAF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#3663AD
Tritanopia (blue-blind)
#36707E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #585faf;
/* rgb */ color: rgb(88, 95, 175);
/* oklch */ color: oklch(51.9% 0.125 277.3);
Tailwind
colors: {
  custom: {
    50: '#8d8cc7',
    500: '#585faf',
    950: '#000000',
  },
}
SCSS
$custom: #585faf;
$custom-light: #8d8cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#585faf",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 235.172,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51866,
    "c": 0.12509,
    "h": 277.3
  },
  "luminance": 0.13354
}

Semantic roles & 50–950 ramp

primary
#585FAF
secondary
#C5C19E
accent
#C25DCB
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0D0C13
muted
#7D7D82

Preview Lab

Preview with #585FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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