#5854B0#5854B0

#5854B0 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.8% C 0.142 H 281.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5854B0
RGBrgb(88, 84, 176)
HSLhsl(243, 37%, 51%)
HSVhsv(243, 52%, 69%)
CMYKcmyk(50%, 52.3%, 0%, 31%)
CIE-LABlab(40.49, 26.88, -48.77)
CIE-LCHlch(40.49, 55.69, 298.86°)
OKLaboklab(49.77% 0.0292 -0.139)
OKLCHoklch(49.77% 0.142 281.9)
XYZxyz(15.0289, 11.5491, 42.5032)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5854B0 #ACB054
analogous
#547EB0 #5854B0 #8654B0
triadic
#5854B0 #B05854 #54B058
tetradic
#5854B0 #B0547E #ACB054 #54B086
square
#5854B0 #B0547E #ACB054 #54B086
split-complementary
#5854B0 #B08654 #7EB054
monochromatic
#2E2B5E #423F88 #5854B0 #817EC3 #AAA8D7

Accessibility & contrast

On white

6.34
#5854B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5854B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5854B0
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5854B0#FFFFFF#000000##FFFFFF
##5854B01.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2663B3
Deuteranopia (green-blind)
#1E5CAE
Tritanopia (blue-blind)
#37687A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5854b0;
/* rgb */ color: rgb(88, 84, 176);
/* oklch */ color: oklch(49.8% 0.142 281.9);
Tailwind
colors: {
  custom: {
    50: '#8d84c8',
    500: '#5854b0',
    950: '#000000',
  },
}
SCSS
$custom: #5854b0;
$custom-light: #8d84c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5854b0",
  "rgb": {
    "r": 88,
    "g": 84,
    "b": 176
  },
  "hsl": {
    "h": 242.609,
    "s": 36.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49772,
    "c": 0.14208,
    "h": 281.9
  },
  "luminance": 0.1155
}

Semantic roles & 50–950 ramp

primary
#5854B0
secondary
#C3C49C
accent
#CD5BC8
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5854B0

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

Preview Lab → · Contrast checker → · Palette generator →

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