#585FBB#585FBB

#585FBB is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.142 H 277.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#585FBB
RGBrgb(88, 95, 187)
HSLhsl(236, 42%, 54%)
HSVhsv(236, 53%, 73%)
CMYKcmyk(52.9%, 49.2%, 0%, 26.7%)
CIE-LABlab(44.01, 23.50, -49.56)
CIE-LCHlch(44.01, 54.85, 295.37°)
OKLaboklab(52.64% 0.0175 -0.1413)
OKLCHoklch(52.64% 0.142 277.1)
XYZxyz(17.0835, 13.8459, 48.7764)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585FBB #BBB458
analogous
#5891BB #585FBB #8358BB
triadic
#585FBB #BB585F #5FBB58
tetradic
#585FBB #BB5891 #BBB458 #58BB83
square
#585FBB #BB5891 #BBB458 #58BB83
split-complementary
#585FBB #BB8358 #91BB58
monochromatic
#2C316C #3E4498 #585FBB #8389CD #AFB2DE

Accessibility & contrast

On white

5.57
#585FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#585FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585FBB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585FBB#FFFFFF#000000##FFFFFF
##585FBB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBE
Deuteranopia (green-blind)
#2864B9
Tritanopia (blue-blind)
#2C7384
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #585fbb;
/* rgb */ color: rgb(88, 95, 187);
/* oklch */ color: oklch(52.6% 0.142 277.1);
Tailwind
colors: {
  custom: {
    50: '#8e8cd0',
    500: '#585fbb',
    950: '#000000',
  },
}
SCSS
$custom: #585fbb;
$custom-light: #8e8cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#585fbb",
  "rgb": {
    "r": 88,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 235.758,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52644,
    "c": 0.14237,
    "h": 277.1
  },
  "luminance": 0.13847
}

Semantic roles & 50–950 ramp

primary
#585FBB
secondary
#CDCAA2
accent
#C956D2
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #585FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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