#545CAA#545CAA

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

Color values

HEX#545CAA
RGBrgb(84, 92, 170)
HSLhsl(234, 34%, 50%)
HSVhsv(234, 51%, 67%)
CMYKcmyk(50.6%, 45.9%, 0%, 33.3%)
CIE-LABlab(41.91, 19.01, -42.98)
CIE-LCHlch(41.91, 46.99, 293.86°)
OKLaboklab(50.65% 0.0143 -0.1221)
OKLCHoklch(50.65% 0.123 276.7)
XYZxyz(14.7367, 12.4405, 39.6471)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CAA #AAA254
analogous
#5487AA #545CAA #7754AA
triadic
#545CAA #AA545C #5CAA54
tetradic
#545CAA #AA5487 #AAA254 #54AA77
square
#545CAA #AA5487 #AAA254 #54AA77
split-complementary
#545CAA #AA7754 #87AA54
monochromatic
#2C3058 #404681 #545CAA #7D83BF #A6AAD3

Accessibility & contrast

On white

6.02
#545CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#545CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CAA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CAA#FFFFFF#000000##FFFFFF
##545CAA1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B66AD
Deuteranopia (green-blind)
#3360A8
Tritanopia (blue-blind)
#316D7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545caa;
/* rgb */ color: rgb(84, 92, 170);
/* oklch */ color: oklch(50.6% 0.123 276.7);
Tailwind
colors: {
  custom: {
    50: '#8a8ac4',
    500: '#545caa',
    950: '#000000',
  },
}
SCSS
$custom: #545caa;
$custom-light: #8a8ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#545caa",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 170
  },
  "hsl": {
    "h": 234.419,
    "s": 33.858,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50646,
    "c": 0.1229,
    "h": 276.7
  },
  "luminance": 0.12441
}

Semantic roles & 50–950 ramp

primary
#545CAA
secondary
#C0BD99
accent
#C05ECA
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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