#585BB8#585BB8

#585BB8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.144 H 278.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#585BB8
RGBrgb(88, 91, 184)
HSLhsl(238, 40%, 53%)
HSVhsv(238, 52%, 72%)
CMYKcmyk(52.2%, 50.5%, 0%, 27.8%)
CIE-LABlab(42.79, 25.04, -49.78)
CIE-LCHlch(42.79, 55.72, 296.71°)
OKLaboklab(51.66% 0.0217 -0.1419)
OKLCHoklch(51.66% 0.144 278.7)
XYZxyz(16.4146, 13.0166, 46.9856)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585BB8 #B8B558
analogous
#588BB8 #585BB8 #8558B8
triadic
#585BB8 #B8585B #5BB858
tetradic
#585BB8 #B8588B #B8B558 #58B885
square
#585BB8 #B8588B #B8B558 #58B885
split-complementary
#585BB8 #B88558 #8BB858
monochromatic
#2D2F69 #3F4294 #585BB8 #8385CA #AEAFDD

Accessibility & contrast

On white

5.83
#585BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#585BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585BB8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585BB8#FFFFFF#000000##FFFFFF
##585BB81.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E69BB
Deuteranopia (green-blind)
#2361B6
Tritanopia (blue-blind)
#2F6F81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #585bb8;
/* rgb */ color: rgb(88, 91, 184);
/* oklch */ color: oklch(51.7% 0.144 278.7);
Tailwind
colors: {
  custom: {
    50: '#8e89ce',
    500: '#585bb8',
    950: '#000000',
  },
}
SCSS
$custom: #585bb8;
$custom-light: #8e89ce;
$custom-dark: #000000;
JSON
{
  "hex": "#585bb8",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 184
  },
  "hsl": {
    "h": 238.125,
    "s": 40.336,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51661,
    "c": 0.14361,
    "h": 278.7
  },
  "luminance": 0.13018
}

Semantic roles & 50–950 ramp

primary
#585BB8
secondary
#CBC9A1
accent
#CC58D0
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #585BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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