#5854BC#5854BC

#5854BC is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.6% C 0.159 H 280.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5854BC
RGBrgb(88, 84, 188)
HSLhsl(242, 44%, 53%)
HSVhsv(242, 55%, 74%)
CMYKcmyk(53.2%, 55.3%, 0%, 26.3%)
CIE-LABlab(41.29, 30.69, -54.53)
CIE-LCHlch(41.29, 62.57, 299.37°)
OKLaboklab(50.62% 0.0298 -0.156)
OKLCHoklch(50.62% 0.159 280.8)
XYZxyz(16.2691, 12.0452, 49.0349)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5854BC #B8BC54
analogous
#5484BC #5854BC #8C54BC
triadic
#5854BC #BC5854 #54BC58
tetradic
#5854BC #BC5484 #B8BC54 #54BC8C
square
#5854BC #BC5484 #B8BC54 #54BC8C
split-complementary
#5854BC #BC8C54 #84BC54
monochromatic
#2D2A6B #3F3B97 #5854BC #8380CD #AEACDE

Accessibility & contrast

On white

6.16
#5854BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5854BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5854BC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5854BC#FFFFFF#000000##FFFFFF
##5854BC1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1065C0
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#2D6C80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5854bc;
/* rgb */ color: rgb(88, 84, 188);
/* oklch */ color: oklch(50.6% 0.159 280.8);
Tailwind
colors: {
  custom: {
    50: '#8f84d1',
    500: '#5854bc',
    950: '#000000',
  },
}
SCSS
$custom: #5854bc;
$custom-light: #8f84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5854bc",
  "rgb": {
    "r": 88,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 242.308,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50623,
    "c": 0.1588,
    "h": 280.8
  },
  "luminance": 0.12046
}

Semantic roles & 50–950 ramp

primary
#5854BC
secondary
#CBCCA0
accent
#D354CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5854BC

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

Preview Lab → · Contrast checker → · Palette generator →

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