#545CC8#545CC8

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

Color values

HEX#545CC8
RGBrgb(84, 92, 200)
HSLhsl(236, 51%, 56%)
HSVhsv(236, 58%, 78%)
CMYKcmyk(58%, 54%, 0%, 21.6%)
CIE-LABlab(43.81, 28.82, -57.44)
CIE-LCHlch(43.81, 64.26, 296.65°)
OKLaboklab(52.69% 0.0172 -0.1646)
OKLCHoklch(52.69% 0.165 275.9)
XYZxyz(17.9053, 13.7079, 56.3347)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CC8 #C8C054
analogous
#5496C8 #545CC8 #8654C8
triadic
#545CC8 #C8545C #5CC854
tetradic
#545CC8 #C85496 #C8C054 #54C886
square
#545CC8 #C85496 #C8C054 #54C886
split-complementary
#545CC8 #C88654 #96C854
monochromatic
#272D7A #363EA9 #545CC8 #8288D7 #B1B4E6

Accessibility & contrast

On white

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

On black

3.74
#545CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##545CC8#FFFFFF#000000##FFFFFF
##545CC81.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166DCC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545cc8;
/* rgb */ color: rgb(84, 92, 200);
/* oklch */ color: oklch(52.7% 0.165 275.9);
Tailwind
colors: {
  custom: {
    50: '#8e8ad9',
    500: '#545cc8',
    950: '#000000',
  },
}
SCSS
$custom: #545cc8;
$custom-light: #8e8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#545cc8",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 235.862,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52693,
    "c": 0.16546,
    "h": 275.9
  },
  "luminance": 0.13709
}

Semantic roles & 50–950 ramp

primary
#545CC8
secondary
#D4D1A4
accent
#D14DDB
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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