#5354D5#5354D5

#5354D5 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.2% C 0.193 H 277.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5354D5
RGBrgb(83, 84, 213)
HSLhsl(240, 61%, 58%)
HSVhsv(240, 61%, 84%)
CMYKcmyk(61%, 60.6%, 0%, 16.5%)
CIE-LABlab(42.74, 37.86, -66.66)
CIE-LCHlch(42.74, 76.66, 299.59°)
OKLaboklab(52.17% 0.0236 -0.1918)
OKLCHoklch(52.17% 0.193 277)
XYZxyz(18.7440, 12.9823, 64.4560)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5354D5 #D5D453
analogous
#5395D5 #5354D5 #9353D5
triadic
#5354D5 #D55354 #54D553
tetradic
#5354D5 #D55395 #D5D453 #53D593
square
#5354D5 #D55395 #D5D453 #53D593
split-complementary
#5354D5 #D59353 #95D553
monochromatic
#22238C #2E2FBD #5354D5 #8485E1 #B5B6ED

Accessibility & contrast

On white

5.84
#5354D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5354D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5354D5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5354D5#FFFFFF#000000##FFFFFF
##5354D51.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5354d5;
/* rgb */ color: rgb(83, 84, 213);
/* oklch */ color: oklch(52.2% 0.193 277.0);
Tailwind
colors: {
  custom: {
    50: '#9084e3',
    500: '#5354d5',
    950: '#000000',
  },
}
SCSS
$custom: #5354d5;
$custom-light: #9084e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5354d5",
  "rgb": {
    "r": 83,
    "g": 84,
    "b": 213
  },
  "hsl": {
    "h": 239.538,
    "s": 60.748,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.19325,
    "h": 277
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#5354D5
secondary
#DCDBA8
accent
#E344E4
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5354D5

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

Preview Lab → · Contrast checker → · Palette generator →

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