#545DC9#545DC9

#545DC9 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.0% C 0.166 H 275.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#545DC9
RGBrgb(84, 93, 201)
HSLhsl(235, 52%, 56%)
HSVhsv(235, 58%, 79%)
CMYKcmyk(58.2%, 53.7%, 0%, 21.2%)
CIE-LABlab(44.13, 28.53, -57.50)
CIE-LCHlch(44.13, 64.18, 296.39°)
OKLaboklab(52.95% 0.0162 -0.1647)
OKLCHoklch(52.95% 0.166 275.6)
XYZxyz(18.1097, 13.9292, 56.9813)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DC9 #C9C054
analogous
#5497C9 #545DC9 #8554C9
triadic
#545DC9 #C9545D #5DC954
tetradic
#545DC9 #C95497 #C9C054 #54C985
square
#545DC9 #C95497 #C9C054 #54C985
split-complementary
#545DC9 #C98554 #97C954
monochromatic
#272E7C #363FAA #545DC9 #8389D8 #B1B5E6

Accessibility & contrast

On white

5.55
#545DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#545DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DC9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DC9#FFFFFF#000000##FFFFFF
##545DC91.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186DCD
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#00768A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545dc9;
/* rgb */ color: rgb(84, 93, 201);
/* oklch */ color: oklch(53.0% 0.166 275.6);
Tailwind
colors: {
  custom: {
    50: '#8e8ada',
    500: '#545dc9',
    950: '#000000',
  },
}
SCSS
$custom: #545dc9;
$custom-light: #8e8ada;
$custom-dark: #000000;
JSON
{
  "hex": "#545dc9",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 201
  },
  "hsl": {
    "h": 235.385,
    "s": 52,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52954,
    "c": 0.16553,
    "h": 275.6
  },
  "luminance": 0.13931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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