#545CB7#545CB7

#545CB7 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.5% C 0.142 H 276.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#545CB7
RGBrgb(84, 92, 183)
HSLhsl(235, 41%, 52%)
HSVhsv(235, 54%, 72%)
CMYKcmyk(54.1%, 49.7%, 0%, 28.2%)
CIE-LABlab(42.70, 23.23, -49.35)
CIE-LCHlch(42.70, 54.54, 295.20°)
OKLaboklab(51.5% 0.0159 -0.1408)
OKLCHoklch(51.5% 0.142 276.4)
XYZxyz(16.0278, 12.9570, 46.4469)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CB7 #B7AF54
analogous
#548DB7 #545CB7 #7E54B7
triadic
#545CB7 #B7545C #5CB754
tetradic
#545CB7 #B7548D #B7AF54 #54B77E
square
#545CB7 #B7548D #B7AF54 #54B77E
split-complementary
#545CB7 #B77E54 #8DB754
monochromatic
#2B3066 #3D4491 #545CB7 #7F85C9 #AAAEDB

Accessibility & contrast

On white

5.85
#545CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#545CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CB7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CB7#FFFFFF#000000##FFFFFF
##545CB71.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3069BA
Deuteranopia (green-blind)
#2361B5
Tritanopia (blue-blind)
#257081
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545cb7;
/* rgb */ color: rgb(84, 92, 183);
/* oklch */ color: oklch(51.5% 0.142 276.4);
Tailwind
colors: {
  custom: {
    50: '#8b8acd',
    500: '#545cb7',
    950: '#000000',
  },
}
SCSS
$custom: #545cb7;
$custom-light: #8b8acd;
$custom-dark: #000000;
JSON
{
  "hex": "#545cb7",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 183
  },
  "hsl": {
    "h": 235.152,
    "s": 40.741,
    "l": 52.353
  },
  "oklch": {
    "l": 0.515,
    "c": 0.14168,
    "h": 276.4
  },
  "luminance": 0.12958
}

Semantic roles & 50–950 ramp

primary
#545CB7
secondary
#C9C59E
accent
#C757D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #545CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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