#545BCC#545BCC

#545BCC is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.8% C 0.172 H 276.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#545BCC
RGBrgb(84, 91, 204)
HSLhsl(237, 54%, 56%)
HSVhsv(237, 59%, 80%)
CMYKcmyk(58.8%, 55.4%, 0%, 20%)
CIE-LABlab(43.84, 30.77, -59.70)
CIE-LCHlch(43.84, 67.16, 297.26°)
OKLaboklab(52.8% 0.0183 -0.1713)
OKLCHoklch(52.8% 0.172 276.1)
XYZxyz(18.2928, 13.7253, 58.8003)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BCC #CCC554
analogous
#5497CC #545BCC #8954CC
triadic
#545BCC #CC545B #5BCC54
tetradic
#545BCC #CC5497 #CCC554 #54CC89
square
#545BCC #CC5497 #CCC554 #54CC89
split-complementary
#545BCC #CC8954 #97CC54
monochromatic
#262B80 #343BAF #545BCC #8388DA #B2B5E8

Accessibility & contrast

On white

5.61
#545BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#545BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BCC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BCC#FFFFFF#000000##FFFFFF
##545BCC1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545bcc;
/* rgb */ color: rgb(84, 91, 204);
/* oklch */ color: oklch(52.8% 0.172 276.1);
Tailwind
colors: {
  custom: {
    50: '#8f89dc',
    500: '#545bcc',
    950: '#000000',
  },
}
SCSS
$custom: #545bcc;
$custom-light: #8f89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#545bcc",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 236.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52799,
    "c": 0.17223,
    "h": 276.1
  },
  "luminance": 0.13727
}

Semantic roles & 50–950 ramp

primary
#545BCC
secondary
#D7D4A5
accent
#D54ADD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545BCC

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

Preview Lab → · Contrast checker → · Palette generator →

#545BCC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva