#545BAC#545BAC

#545BAC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.127 H 277.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#545BAC
RGBrgb(84, 91, 172)
HSLhsl(235, 35%, 50%)
HSVhsv(235, 51%, 67%)
CMYKcmyk(51.2%, 47.1%, 0%, 32.5%)
CIE-LABlab(41.76, 20.28, -44.39)
CIE-LCHlch(41.76, 48.81, 294.56°)
OKLaboklab(50.57% 0.0157 -0.1262)
OKLCHoklch(50.57% 0.127 277.1)
XYZxyz(14.8413, 12.3447, 40.6224)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BAC #ACA554
analogous
#5487AC #545BAC #7954AC
triadic
#545BAC #AC545B #5BAC54
tetradic
#545BAC #AC5487 #ACA554 #54AC79
square
#545BAC #AC5487 #ACA554 #54AC79
split-complementary
#545BAC #AC7954 #87AC54
monochromatic
#2C2F5A #404583 #545BAC #7D83C0 #A6AAD4

Accessibility & contrast

On white

6.05
#545BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#545BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BAC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BAC#FFFFFF#000000##FFFFFF
##545BAC1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3866AF
Deuteranopia (green-blind)
#2F5FAA
Tritanopia (blue-blind)
#306C7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545bac;
/* rgb */ color: rgb(84, 91, 172);
/* oklch */ color: oklch(50.6% 0.127 277.1);
Tailwind
colors: {
  custom: {
    50: '#8a89c5',
    500: '#545bac',
    950: '#000000',
  },
}
SCSS
$custom: #545bac;
$custom-light: #8a89c5;
$custom-dark: #000000;
JSON
{
  "hex": "#545bac",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 172
  },
  "hsl": {
    "h": 235.227,
    "s": 34.646,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50571,
    "c": 0.12722,
    "h": 277.1
  },
  "luminance": 0.12346
}

Semantic roles & 50–950 ramp

primary
#545BAC
secondary
#C2BE9A
accent
#C25DCB
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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