#585BB2#585BB2

#585BB2 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.135 H 279.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#585BB2
RGBrgb(88, 91, 178)
HSLhsl(238, 37%, 52%)
HSVhsv(238, 51%, 70%)
CMYKcmyk(50.6%, 48.9%, 0%, 30.2%)
CIE-LABlab(42.42, 23.13, -46.86)
CIE-LCHlch(42.42, 52.26, 296.27°)
OKLaboklab(51.26% 0.0212 -0.1334)
OKLCHoklch(51.26% 0.135 279)
XYZxyz(15.7990, 12.7703, 43.7433)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585BB2 #B2AF58
analogous
#5888B2 #585BB2 #8258B2
triadic
#585BB2 #B2585B #5BB258
tetradic
#585BB2 #B25888 #B2AF58 #58B282
square
#585BB2 #B25888 #B2AF58 #58B282
split-complementary
#585BB2 #B28258 #88B258
monochromatic
#2D2F62 #41438C #585BB2 #8284C5 #ACADD9

Accessibility & contrast

On white

5.91
#585BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#585BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585BB2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585BB2#FFFFFF#000000##FFFFFF
##585BB21.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#2B61B0
Tritanopia (blue-blind)
#346E7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #585bb2;
/* rgb */ color: rgb(88, 91, 178);
/* oklch */ color: oklch(51.3% 0.135 279.0);
Tailwind
colors: {
  custom: {
    50: '#8d89c9',
    500: '#585bb2',
    950: '#000000',
  },
}
SCSS
$custom: #585bb2;
$custom-light: #8d89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#585bb2",
  "rgb": {
    "r": 88,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 238,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5126,
    "c": 0.13505,
    "h": 279
  },
  "luminance": 0.12771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #585BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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