#5354CD#5354CD

#5354CD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.5% C 0.183 H 277.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5354CD
RGBrgb(83, 84, 205)
HSLhsl(240, 55%, 56%)
HSVhsv(240, 60%, 80%)
CMYKcmyk(59.5%, 59%, 0%, 19.6%)
CIE-LABlab(42.13, 35.24, -63.04)
CIE-LCHlch(42.13, 72.23, 299.21°)
OKLaboklab(51.54% 0.0239 -0.1812)
OKLCHoklch(51.54% 0.183 277.5)
XYZxyz(17.7535, 12.5861, 59.2396)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5354CD #CDCC53
analogous
#5391CD #5354CD #8F53CD
triadic
#5354CD #CD5354 #54CD53
tetradic
#5354CD #CD5391 #CDCC53 #53CD8F
square
#5354CD #CD5391 #CDCC53 #53CD8F
split-complementary
#5354CD #CD8F53 #91CD53
monochromatic
#252680 #3334B0 #5354CD #8283DB #B2B2E9

Accessibility & contrast

On white

5.97
#5354CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5354CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5354CD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5354CD#FFFFFF#000000##FFFFFF
##5354CD1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5354cd;
/* rgb */ color: rgb(83, 84, 205);
/* oklch */ color: oklch(51.5% 0.183 277.5);
Tailwind
colors: {
  custom: {
    50: '#8f84dd',
    500: '#5354cd',
    950: '#000000',
  },
}
SCSS
$custom: #5354cd;
$custom-light: #8f84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5354cd",
  "rgb": {
    "r": 83,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 239.508,
    "s": 54.955,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51539,
    "c": 0.18272,
    "h": 277.5
  },
  "luminance": 0.12587
}

Semantic roles & 50–950 ramp

primary
#5354CD
secondary
#D7D7A5
accent
#DD4ADE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5354CD

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

Preview Lab → · Contrast checker → · Palette generator →

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