#585FB7#585FB7

#585FB7 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.4% C 0.137 H 277.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#585FB7
RGBrgb(88, 95, 183)
HSLhsl(236, 40%, 53%)
HSVhsv(236, 52%, 72%)
CMYKcmyk(51.9%, 48.1%, 0%, 28.2%)
CIE-LABlab(43.77, 22.22, -47.62)
CIE-LCHlch(43.77, 52.55, 295.01°)
OKLaboklab(52.38% 0.017 -0.1356)
OKLCHoklch(52.38% 0.137 277.2)
XYZxyz(16.6613, 13.6770, 46.5525)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FB7 #B7B058
analogous
#588EB7 #585FB7 #8058B7
triadic
#585FB7 #B7585F #5FB758
tetradic
#585FB7 #B7588E #B7B058 #58B780
square
#585FB7 #B7588E #B7B058 #58B780
split-complementary
#585FB7 #B78058 #8EB758
monochromatic
#2D3168 #3F4593 #585FB7 #8388C9 #AEB1DC

Accessibility & contrast

On white

5.62
#585FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#585FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FB7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FB7#FFFFFF#000000##FFFFFF
##585FB71.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376BBA
Deuteranopia (green-blind)
#2D64B5
Tritanopia (blue-blind)
#307282
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #585fb7;
/* rgb */ color: rgb(88, 95, 183);
/* oklch */ color: oklch(52.4% 0.137 277.2);
Tailwind
colors: {
  custom: {
    50: '#8e8ccd',
    500: '#585fb7',
    950: '#000000',
  },
}
SCSS
$custom: #585fb7;
$custom-light: #8e8ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#585fb7",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 183
  },
  "hsl": {
    "h": 235.579,
    "s": 39.749,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5238,
    "c": 0.13665,
    "h": 277.2
  },
  "luminance": 0.13678
}

Semantic roles & 50–950 ramp

primary
#585FB7
secondary
#CAC7A1
accent
#C758D0
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #585FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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