#545CA4#545CA4

#545CA4 is a mid, moderate blue. Relative luminance 0.122; OKLCH L 50.3% C 0.114 H 276.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#545CA4
RGBrgb(84, 92, 164)
HSLhsl(234, 32%, 49%)
HSVhsv(234, 49%, 64%)
CMYKcmyk(48.8%, 43.9%, 0%, 35.7%)
CIE-LABlab(41.56, 17.09, -39.98)
CIE-LCHlch(41.56, 43.47, 293.14°)
OKLaboklab(50.27% 0.0133 -0.1133)
OKLCHoklch(50.27% 0.114 276.7)
XYZxyz(14.1821, 12.2187, 36.7259)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CA4 #A49C54
analogous
#5484A4 #545CA4 #7454A4
triadic
#545CA4 #A4545C #5CA454
tetradic
#545CA4 #A45484 #A49C54 #54A474
square
#545CA4 #A45484 #A49C54 #54A474
split-complementary
#545CA4 #A47454 #84A454
monochromatic
#2B2F53 #3F457C #545CA4 #7A81BB #A3A7D0

Accessibility & contrast

On white

6.10
#545CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#545CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CA4
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CA4#FFFFFF#000000##FFFFFF
##545CA41.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A7
Deuteranopia (green-blind)
#385FA2
Tritanopia (blue-blind)
#366B78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #545ca4;
/* rgb */ color: rgb(84, 92, 164);
/* oklch */ color: oklch(50.3% 0.114 276.7);
Tailwind
colors: {
  custom: {
    50: '#898abf',
    500: '#545ca4',
    950: '#000000',
  },
}
SCSS
$custom: #545ca4;
$custom-light: #898abf;
$custom-dark: #000000;
JSON
{
  "hex": "#545ca4",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 164
  },
  "hsl": {
    "h": 234,
    "s": 32.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5027,
    "c": 0.11406,
    "h": 276.7
  },
  "luminance": 0.12219
}

Semantic roles & 50–950 ramp

primary
#545CA4
secondary
#BDB997
accent
#BE5FC8
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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