#5854BB#5854BB

#5854BB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.157 H 280.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5854BB
RGBrgb(88, 84, 187)
HSLhsl(242, 43%, 53%)
HSVhsv(242, 55%, 73%)
CMYKcmyk(52.9%, 55.1%, 0%, 26.7%)
CIE-LABlab(41.22, 30.37, -54.05)
CIE-LCHlch(41.22, 62.00, 299.33°)
OKLaboklab(50.55% 0.0298 -0.1546)
OKLCHoklch(50.55% 0.157 280.9)
XYZxyz(16.1617, 12.0023, 48.4691)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5854BB #B7BB54
analogous
#5483BB #5854BB #8B54BB
triadic
#5854BB #BB5854 #54BB58
tetradic
#5854BB #BB5483 #B7BB54 #54BB8B
square
#5854BB #BB5483 #B7BB54 #54BB8B
split-complementary
#5854BB #BB8B54 #83BB54
monochromatic
#2D2A6A #3F3C96 #5854BB #8380CC #AEACDE

Accessibility & contrast

On white

6.18
#5854BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5854BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5854BB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5854BB#FFFFFF#000000##FFFFFF
##5854BB1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1365BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#2E6B7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5854bb;
/* rgb */ color: rgb(88, 84, 187);
/* oklch */ color: oklch(50.5% 0.157 280.9);
Tailwind
colors: {
  custom: {
    50: '#8f84d0',
    500: '#5854bb',
    950: '#000000',
  },
}
SCSS
$custom: #5854bb;
$custom-light: #8f84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5854bb",
  "rgb": {
    "r": 88,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 242.33,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5055,
    "c": 0.15742,
    "h": 280.9
  },
  "luminance": 0.12003
}

Semantic roles & 50–950 ramp

primary
#5854BB
secondary
#CACC9F
accent
#D355CE
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5854BB

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

Preview Lab → · Contrast checker → · Palette generator →

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