#585CB2#585CB2

#585CB2 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.134 H 278.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#585CB2
RGBrgb(88, 92, 178)
HSLhsl(237, 37%, 52%)
HSVhsv(237, 51%, 70%)
CMYKcmyk(50.6%, 48.3%, 0%, 30.2%)
CIE-LABlab(42.68, 22.50, -46.44)
CIE-LCHlch(42.68, 51.60, 295.85°)
OKLaboklab(51.46% 0.02 -0.1321)
OKLCHoklch(51.46% 0.134 278.6)
XYZxyz(15.8850, 12.9424, 43.7720)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CB2 #B2AE58
analogous
#5889B2 #585CB2 #8158B2
triadic
#585CB2 #B2585C #5CB258
tetradic
#585CB2 #B25889 #B2AE58 #58B281
square
#585CB2 #B25889 #B2AE58 #58B281
split-complementary
#585CB2 #B28158 #89B258
monochromatic
#2D3062 #41448C #585CB2 #8285C5 #ACAED9

Accessibility & contrast

On white

5.85
#585CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#585CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585CB2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CB2#FFFFFF#000000##FFFFFF
##585CB21.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3668B5
Deuteranopia (green-blind)
#2D61B0
Tritanopia (blue-blind)
#346F7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #585cb2;
/* rgb */ color: rgb(88, 92, 178);
/* oklch */ color: oklch(51.5% 0.134 278.6);
Tailwind
colors: {
  custom: {
    50: '#8d8ac9',
    500: '#585cb2',
    950: '#000000',
  },
}
SCSS
$custom: #585cb2;
$custom-light: #8d8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#585cb2",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 237.333,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.13364,
    "h": 278.6
  },
  "luminance": 0.12943
}

Semantic roles & 50–950 ramp

primary
#585CB2
secondary
#C7C59F
accent
#C85BCD
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #585CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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