#545BA4#545BA4

#545BA4 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 50.1% C 0.115 H 277.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#545BA4
RGBrgb(84, 91, 164)
HSLhsl(235, 32%, 49%)
HSVhsv(235, 49%, 64%)
CMYKcmyk(48.8%, 44.5%, 0%, 35.7%)
CIE-LABlab(41.29, 17.72, -40.41)
CIE-LCHlch(41.29, 44.12, 293.68°)
OKLaboklab(50.06% 0.0145 -0.1145)
OKLCHoklch(50.06% 0.115 277.2)
XYZxyz(14.0960, 12.0465, 36.6972)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BA4 #A49D54
analogous
#5483A4 #545BA4 #7554A4
triadic
#545BA4 #A4545B #5BA454
tetradic
#545BA4 #A45483 #A49D54 #54A475
square
#545BA4 #A45483 #A49D54 #54A475
split-complementary
#545BA4 #A47554 #83A454
monochromatic
#2B2E53 #3F457C #545BA4 #7A80BB #A3A7D0

Accessibility & contrast

On white

6.16
#545BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#545BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BA4
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BA4#FFFFFF#000000##FFFFFF
##545BA41.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E65A7
Deuteranopia (green-blind)
#375EA2
Tritanopia (blue-blind)
#366A77
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #545ba4;
/* rgb */ color: rgb(84, 91, 164);
/* oklch */ color: oklch(50.1% 0.115 277.2);
Tailwind
colors: {
  custom: {
    50: '#8989bf',
    500: '#545ba4',
    950: '#000000',
  },
}
SCSS
$custom: #545ba4;
$custom-light: #8989bf;
$custom-dark: #000000;
JSON
{
  "hex": "#545ba4",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 164
  },
  "hsl": {
    "h": 234.75,
    "s": 32.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50063,
    "c": 0.11547,
    "h": 277.2
  },
  "luminance": 0.12047
}

Semantic roles & 50–950 ramp

primary
#545BA4
secondary
#BDBA97
accent
#BF5FC8
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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