#545CC9#545CC9

#545CC9 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.8% C 0.167 H 275.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#545CC9
RGBrgb(84, 92, 201)
HSLhsl(236, 52%, 56%)
HSVhsv(236, 58%, 79%)
CMYKcmyk(58.2%, 54.2%, 0%, 21.2%)
CIE-LABlab(43.88, 29.15, -57.90)
CIE-LCHlch(43.88, 64.83, 296.72°)
OKLaboklab(52.76% 0.0172 -0.1659)
OKLCHoklch(52.76% 0.167 275.9)
XYZxyz(18.0225, 13.7548, 56.9522)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CC9 #C9C154
analogous
#5497C9 #545CC9 #8654C9
triadic
#545CC9 #C9545C #5CC954
tetradic
#545CC9 #C95497 #C9C154 #54C986
square
#545CC9 #C95497 #C9C154 #54C986
split-complementary
#545CC9 #C98654 #97C954
monochromatic
#272D7C #363EAA #545CC9 #8388D8 #B1B5E6

Accessibility & contrast

On white

5.60
#545CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #545CC9
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CC9#FFFFFF#000000##FFFFFF
##545CC91.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136DCD
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545cc9;
/* rgb */ color: rgb(84, 92, 201);
/* oklch */ color: oklch(52.8% 0.167 275.9);
Tailwind
colors: {
  custom: {
    50: '#8e8ada',
    500: '#545cc9',
    950: '#000000',
  },
}
SCSS
$custom: #545cc9;
$custom-light: #8e8ada;
$custom-dark: #000000;
JSON
{
  "hex": "#545cc9",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 201
  },
  "hsl": {
    "h": 235.897,
    "s": 52,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52765,
    "c": 0.16684,
    "h": 275.9
  },
  "luminance": 0.13756
}

Semantic roles & 50–950 ramp

primary
#545CC9
secondary
#D5D1A4
accent
#D24CDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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