#545AA7#545AA7

#545AA7 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.0% C 0.121 H 277.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#545AA7
RGBrgb(84, 90, 167)
HSLhsl(236, 33%, 49%)
HSVhsv(236, 50%, 65%)
CMYKcmyk(49.7%, 46.1%, 0%, 34.5%)
CIE-LABlab(41.19, 19.31, -42.34)
CIE-LCHlch(41.19, 46.54, 294.52°)
OKLaboklab(50.05% 0.0163 -0.1202)
OKLCHoklch(50.05% 0.121 277.7)
XYZxyz(14.2852, 11.9864, 38.1126)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AA7 #A7A154
analogous
#5484A7 #545AA7 #7854A7
triadic
#545AA7 #A7545A #5AA754
tetradic
#545AA7 #A75484 #A7A154 #54A778
square
#545AA7 #A75484 #A7A154 #54A778
split-complementary
#545AA7 #A77854 #84A754
monochromatic
#2B2E56 #40447E #545AA7 #7B80BD #A4A7D1

Accessibility & contrast

On white

6.18
#545AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#545AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AA7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AA7#FFFFFF#000000##FFFFFF
##545AA71.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A65AA
Deuteranopia (green-blind)
#325EA5
Tritanopia (blue-blind)
#346A78
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #545aa7;
/* rgb */ color: rgb(84, 90, 167);
/* oklch */ color: oklch(50.0% 0.121 277.7);
Tailwind
colors: {
  custom: {
    50: '#8988c1',
    500: '#545aa7',
    950: '#000000',
  },
}
SCSS
$custom: #545aa7;
$custom-light: #8988c1;
$custom-dark: #000000;
JSON
{
  "hex": "#545aa7",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 167
  },
  "hsl": {
    "h": 235.663,
    "s": 33.068,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50047,
    "c": 0.12131,
    "h": 277.7
  },
  "luminance": 0.11987
}

Semantic roles & 50–950 ramp

primary
#545AA7
secondary
#BFBC98
accent
#C15FC9
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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