#5354BF#5354BF

#5354BF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.5% C 0.164 H 278.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5354BF
RGBrgb(83, 84, 191)
HSLhsl(239, 46%, 54%)
HSVhsv(239, 57%, 75%)
CMYKcmyk(56.5%, 56%, 0%, 25.1%)
CIE-LABlab(41.12, 30.66, -56.57)
CIE-LCHlch(41.12, 64.34, 298.46°)
OKLaboklab(50.47% 0.0238 -0.1621)
OKLCHoklch(50.47% 0.164 278.4)
XYZxyz(16.1386, 11.9401, 50.7344)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5354BF #BFBE53
analogous
#538ABF #5354BF #8853BF
triadic
#5354BF #BF5354 #54BF53
tetradic
#5354BF #BF538A #BFBE53 #53BF88
square
#5354BF #BF538A #BFBE53 #53BF88
split-complementary
#5354BF #BF8853 #8ABF53
monochromatic
#292A6E #3A3B9B #5354BF #8080D0 #ACADE0

Accessibility & contrast

On white

6.20
#5354BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5354BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5354BF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5354BF#FFFFFF#000000##FFFFFF
##5354BF1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#176D81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5354bf;
/* rgb */ color: rgb(83, 84, 191);
/* oklch */ color: oklch(50.5% 0.164 278.4);
Tailwind
colors: {
  custom: {
    50: '#8d84d3',
    500: '#5354bf',
    950: '#000000',
  },
}
SCSS
$custom: #5354bf;
$custom-light: #8d84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5354bf",
  "rgb": {
    "r": 83,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 239.444,
    "s": 45.763,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50469,
    "c": 0.16385,
    "h": 278.4
  },
  "luminance": 0.11941
}

Semantic roles & 50–950 ramp

primary
#5354BF
secondary
#CECEA0
accent
#D452D5
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5354BF

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

Preview Lab → · Contrast checker → · Palette generator →

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