#585CB3#585CB3

#585CB3 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.5% C 0.135 H 278.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#585CB3
RGBrgb(88, 92, 179)
HSLhsl(237, 37%, 52%)
HSVhsv(237, 51%, 70%)
CMYKcmyk(50.8%, 48.6%, 0%, 29.8%)
CIE-LABlab(42.74, 22.82, -46.93)
CIE-LCHlch(42.74, 52.18, 295.93°)
OKLaboklab(51.52% 0.0201 -0.1336)
OKLCHoklch(51.52% 0.135 278.5)
XYZxyz(15.9858, 12.9827, 44.3027)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585CB3 #B3AF58
analogous
#5889B3 #585CB3 #8258B3
triadic
#585CB3 #B3585C #5CB358
tetradic
#585CB3 #B35889 #B3AF58 #58B382
square
#585CB3 #B35889 #B3AF58 #58B382
split-complementary
#585CB3 #B38258 #89B358
monochromatic
#2D3063 #40448D #585CB3 #8285C6 #ACAED9

Accessibility & contrast

On white

5.84
#585CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #585CB3
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585CB3#FFFFFF#000000##FFFFFF
##585CB31.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3569B6
Deuteranopia (green-blind)
#2C61B1
Tritanopia (blue-blind)
#336F7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #585cb3;
/* rgb */ color: rgb(88, 92, 179);
/* oklch */ color: oklch(51.5% 0.135 278.5);
Tailwind
colors: {
  custom: {
    50: '#8d8aca',
    500: '#585cb3',
    950: '#000000',
  },
}
SCSS
$custom: #585cb3;
$custom-light: #8d8aca;
$custom-dark: #000000;
JSON
{
  "hex": "#585cb3",
  "rgb": {
    "r": 88,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 237.363,
    "s": 37.449,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51523,
    "c": 0.13508,
    "h": 278.5
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#585CB3
secondary
#C7C5A0
accent
#C85ACD
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #585CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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