#5354C8#5354C8

#5354C8 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.176 H 277.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5354C8
RGBrgb(83, 84, 200)
HSLhsl(239, 52%, 55%)
HSVhsv(239, 59%, 78%)
CMYKcmyk(58.5%, 58%, 0%, 21.6%)
CIE-LABlab(41.76, 33.61, -60.75)
CIE-LCHlch(41.76, 69.43, 298.95°)
OKLaboklab(51.15% 0.0239 -0.1744)
OKLCHoklch(51.15% 0.176 277.8)
XYZxyz(17.1596, 12.3485, 56.1116)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5354C8 #C8C753
analogous
#538EC8 #5354C8 #8C53C8
triadic
#5354C8 #C85354 #54C853
tetradic
#5354C8 #C8538E #C8C753 #53C88C
square
#5354C8 #C8538E #C8C753 #53C88C
split-complementary
#5354C8 #C88C53 #8EC853
monochromatic
#27287A #3637A8 #5354C8 #8182D7 #B0B0E6

Accessibility & contrast

On white

6.05
#5354C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5354C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5354C8
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5354C8#FFFFFF#000000##FFFFFF
##5354C81.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5354c8;
/* rgb */ color: rgb(83, 84, 200);
/* oklch */ color: oklch(51.2% 0.176 277.8);
Tailwind
colors: {
  custom: {
    50: '#8e84d9',
    500: '#5354c8',
    950: '#000000',
  },
}
SCSS
$custom: #5354c8;
$custom-light: #8e84d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5354c8",
  "rgb": {
    "r": 83,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 239.487,
    "s": 51.542,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51151,
    "c": 0.17605,
    "h": 277.8
  },
  "luminance": 0.1235
}

Semantic roles & 50–950 ramp

primary
#5354C8
secondary
#D4D3A3
accent
#DA4DDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5354C8

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

Preview Lab → · Contrast checker → · Palette generator →

#5354C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva