#545AA6#545AA6

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

Color values

HEX#545AA6
RGBrgb(84, 90, 166)
HSLhsl(236, 33%, 49%)
HSVhsv(236, 49%, 65%)
CMYKcmyk(49.4%, 45.8%, 0%, 34.9%)
CIE-LABlab(41.14, 18.99, -41.84)
CIE-LCHlch(41.14, 45.95, 294.41°)
OKLaboklab(49.98% 0.0161 -0.1187)
OKLCHoklch(49.98% 0.12 277.7)
XYZxyz(14.1931, 11.9495, 37.6276)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AA6 #A6A054
analogous
#5483A6 #545AA6 #7754A6
triadic
#545AA6 #A6545A #5AA654
tetradic
#545AA6 #A65483 #A6A054 #54A677
square
#545AA6 #A65483 #A6A054 #54A677
split-complementary
#545AA6 #A67754 #83A654
monochromatic
#2B2E55 #3F447D #545AA6 #7B80BC #A4A7D1

Accessibility & contrast

On white

6.19
#545AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#545AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AA6
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AA6#FFFFFF#000000##FFFFFF
##545AA61.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A64A9
Deuteranopia (green-blind)
#335EA4
Tritanopia (blue-blind)
#356A78
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #545aa6;
/* rgb */ color: rgb(84, 90, 166);
/* oklch */ color: oklch(50.0% 0.120 277.7);
Tailwind
colors: {
  custom: {
    50: '#8988c1',
    500: '#545aa6',
    950: '#000000',
  },
}
SCSS
$custom: #545aa6;
$custom-light: #8988c1;
$custom-dark: #000000;
JSON
{
  "hex": "#545aa6",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 166
  },
  "hsl": {
    "h": 235.61,
    "s": 32.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49983,
    "c": 0.11984,
    "h": 277.7
  },
  "luminance": 0.1195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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