#545CA6#545CA6

#545CA6 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.4% C 0.117 H 276.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#545CA6
RGBrgb(84, 92, 166)
HSLhsl(234, 33%, 49%)
HSVhsv(234, 49%, 65%)
CMYKcmyk(49.4%, 44.6%, 0%, 34.9%)
CIE-LABlab(41.68, 17.73, -40.98)
CIE-LCHlch(41.68, 44.65, 293.39°)
OKLaboklab(50.39% 0.0136 -0.1162)
OKLCHoklch(50.39% 0.117 276.7)
XYZxyz(14.3641, 12.2915, 37.6846)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CA6 #A69E54
analogous
#5485A6 #545CA6 #7554A6
triadic
#545CA6 #A6545C #5CA654
tetradic
#545CA6 #A65485 #A69E54 #54A675
square
#545CA6 #A65485 #A69E54 #54A675
split-complementary
#545CA6 #A67554 #85A654
monochromatic
#2B2F55 #3F457D #545CA6 #7B81BC #A4A8D1

Accessibility & contrast

On white

6.07
#545CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#545CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CA6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CA6#FFFFFF#000000##FFFFFF
##545CA61.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E66A9
Deuteranopia (green-blind)
#375FA4
Tritanopia (blue-blind)
#346C79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #545ca6;
/* rgb */ color: rgb(84, 92, 166);
/* oklch */ color: oklch(50.4% 0.117 276.7);
Tailwind
colors: {
  custom: {
    50: '#898ac1',
    500: '#545ca6',
    950: '#000000',
  },
}
SCSS
$custom: #545ca6;
$custom-light: #898ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#545ca6",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 166
  },
  "hsl": {
    "h": 234.146,
    "s": 32.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50394,
    "c": 0.11702,
    "h": 276.7
  },
  "luminance": 0.12292
}

Semantic roles & 50–950 ramp

primary
#545CA6
secondary
#BEBA98
accent
#BF5FC9
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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