#5854BD#5854BD

#5854BD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.7% C 0.160 H 280.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5854BD
RGBrgb(88, 84, 189)
HSLhsl(242, 44%, 54%)
HSVhsv(242, 56%, 74%)
CMYKcmyk(53.4%, 55.6%, 0%, 25.9%)
CIE-LABlab(41.36, 31.00, -55.00)
CIE-LCHlch(41.36, 63.14, 299.41°)
OKLaboklab(50.7% 0.0298 -0.1574)
OKLCHoklch(50.7% 0.16 280.7)
XYZxyz(16.3773, 12.0885, 49.6046)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5854BD #B9BD54
analogous
#5484BD #5854BD #8C54BD
triadic
#5854BD #BD5854 #54BD58
tetradic
#5854BD #BD5484 #B9BD54 #54BD8C
square
#5854BD #BD5484 #B9BD54 #54BD8C
split-complementary
#5854BD #BD8C54 #84BD54
monochromatic
#2C2A6D #3F3B99 #5854BD #8380CE #AEACDF

Accessibility & contrast

On white

6.14
#5854BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5854BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5854BD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5854BD#FFFFFF#000000##FFFFFF
##5854BD1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D65C1
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#2C6C80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5854bd;
/* rgb */ color: rgb(88, 84, 189);
/* oklch */ color: oklch(50.7% 0.160 280.7);
Tailwind
colors: {
  custom: {
    50: '#8f84d2',
    500: '#5854bd',
    950: '#000000',
  },
}
SCSS
$custom: #5854bd;
$custom-light: #8f84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5854bd",
  "rgb": {
    "r": 88,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 242.286,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50695,
    "c": 0.16017,
    "h": 280.7
  },
  "luminance": 0.12089
}

Semantic roles & 50–950 ramp

primary
#5854BD
secondary
#CBCDA0
accent
#D454CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5854BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5854BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva