#545CA7#545CA7

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

Color values

HEX#545CA7
RGBrgb(84, 92, 167)
HSLhsl(234, 33%, 49%)
HSVhsv(234, 50%, 65%)
CMYKcmyk(49.7%, 44.9%, 0%, 34.5%)
CIE-LABlab(41.73, 18.05, -41.48)
CIE-LCHlch(41.73, 45.24, 293.51°)
OKLaboklab(50.46% 0.0138 -0.1177)
OKLCHoklch(50.46% 0.118 276.7)
XYZxyz(14.4562, 12.3283, 38.1696)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CA7 #A79F54
analogous
#5486A7 #545CA7 #7654A7
triadic
#545CA7 #A7545C #5CA754
tetradic
#545CA7 #A75486 #A79F54 #54A776
square
#545CA7 #A75486 #A79F54 #54A776
split-complementary
#545CA7 #A77654 #86A754
monochromatic
#2B2F56 #40467E #545CA7 #7B82BD #A4A8D1

Accessibility & contrast

On white

6.06
#545CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#545CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CA7
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CA7#FFFFFF#000000##FFFFFF
##545CA71.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D66AA
Deuteranopia (green-blind)
#365FA5
Tritanopia (blue-blind)
#346C79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #545ca7;
/* rgb */ color: rgb(84, 92, 167);
/* oklch */ color: oklch(50.5% 0.118 276.7);
Tailwind
colors: {
  custom: {
    50: '#898ac1',
    500: '#545ca7',
    950: '#000000',
  },
}
SCSS
$custom: #545ca7;
$custom-light: #898ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#545ca7",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 167
  },
  "hsl": {
    "h": 234.217,
    "s": 33.068,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50456,
    "c": 0.11849,
    "h": 276.7
  },
  "luminance": 0.12329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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