#545AA5#545AA5

#545AA5 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.9% C 0.118 H 277.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#545AA5
RGBrgb(84, 90, 165)
HSLhsl(236, 33%, 49%)
HSVhsv(236, 49%, 65%)
CMYKcmyk(49.1%, 45.5%, 0%, 35.3%)
CIE-LABlab(41.08, 18.67, -41.34)
CIE-LCHlch(41.08, 45.36, 294.31°)
OKLaboklab(49.92% 0.016 -0.1173)
OKLCHoklch(49.92% 0.118 277.7)
XYZxyz(14.1018, 11.9130, 37.1464)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AA5 #A59F54
analogous
#5483A5 #545AA5 #7754A5
triadic
#545AA5 #A5545A #5AA554
tetradic
#545AA5 #A55483 #A59F54 #54A577
square
#545AA5 #A55483 #A59F54 #54A577
split-complementary
#545AA5 #A57754 #83A554
monochromatic
#2B2E54 #3F447C #545AA5 #7B7FBC #A3A6D0

Accessibility & contrast

On white

6.21
#545AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#545AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AA5
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AA5#FFFFFF#000000##FFFFFF
##545AA51.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B64A8
Deuteranopia (green-blind)
#345EA3
Tritanopia (blue-blind)
#356A77
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #545aa5;
/* rgb */ color: rgb(84, 90, 165);
/* oklch */ color: oklch(49.9% 0.118 277.7);
Tailwind
colors: {
  custom: {
    50: '#8988c0',
    500: '#545aa5',
    950: '#000000',
  },
}
SCSS
$custom: #545aa5;
$custom-light: #8988c0;
$custom-dark: #000000;
JSON
{
  "hex": "#545aa5",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 165
  },
  "hsl": {
    "h": 235.556,
    "s": 32.53,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4992,
    "c": 0.11837,
    "h": 277.7
  },
  "luminance": 0.11914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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