#585FCF#585FCF

#585FCF is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.0% C 0.170 H 276.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#585FCF
RGBrgb(88, 95, 207)
HSLhsl(236, 55%, 58%)
HSVhsv(236, 57%, 81%)
CMYKcmyk(57.5%, 54.1%, 0%, 18.8%)
CIE-LABlab(45.31, 30.01, -59.03)
CIE-LCHlch(45.31, 66.23, 296.95°)
OKLaboklab(54.03% 0.019 -0.1691)
OKLCHoklch(54.03% 0.17 276.4)
XYZxyz(19.3756, 14.7627, 60.8479)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FCF #CFC858
analogous
#589ACF #585FCF #8D58CF
triadic
#585FCF #CF585F #5FCF58
tetradic
#585FCF #CF589A #CFC858 #58CF8D
square
#585FCF #CF589A #CFC858 #58CF8D
split-complementary
#585FCF #CF8D58 #9ACF58
monochromatic
#272C86 #343CB6 #585FCF #888DDD #B7BAEA

Accessibility & contrast

On white

5.31
#585FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#585FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FCF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FCF#FFFFFF#000000##FFFFFF
##585FCF1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1570D3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#07798E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #585fcf;
/* rgb */ color: rgb(88, 95, 207);
/* oklch */ color: oklch(54.0% 0.170 276.4);
Tailwind
colors: {
  custom: {
    50: '#918cde',
    500: '#585fcf',
    950: '#000000',
  },
}
SCSS
$custom: #585fcf;
$custom-light: #918cde;
$custom-dark: #000000;
JSON
{
  "hex": "#585fcf",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 236.471,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54033,
    "c": 0.1702,
    "h": 276.4
  },
  "luminance": 0.14764
}

Semantic roles & 50–950 ramp

primary
#585FCF
secondary
#D9D6AA
accent
#D649DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #585FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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