#545CC7#545CC7

#545CC7 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.164 H 276.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#545CC7
RGBrgb(84, 92, 199)
HSLhsl(236, 51%, 55%)
HSVhsv(236, 58%, 78%)
CMYKcmyk(57.8%, 53.8%, 0%, 22%)
CIE-LABlab(43.74, 28.49, -56.97)
CIE-LCHlch(43.74, 63.70, 296.57°)
OKLaboklab(52.62% 0.0171 -0.1632)
OKLCHoklch(52.62% 0.164 276)
XYZxyz(17.7888, 13.6613, 55.7213)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CC7 #C7BF54
analogous
#5495C7 #545CC7 #8554C7
triadic
#545CC7 #C7545C #5CC754
tetradic
#545CC7 #C75495 #C7BF54 #54C785
square
#545CC7 #C75495 #C7BF54 #54C785
split-complementary
#545CC7 #C78554 #95C754
monochromatic
#282D79 #373FA7 #545CC7 #8288D6 #B0B4E5

Accessibility & contrast

On white

5.63
#545CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#545CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CC7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CC7#FFFFFF#000000##FFFFFF
##545CC71.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186CCB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#037588
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545cc7;
/* rgb */ color: rgb(84, 92, 199);
/* oklch */ color: oklch(52.6% 0.164 276.0);
Tailwind
colors: {
  custom: {
    50: '#8e8ad9',
    500: '#545cc7',
    950: '#000000',
  },
}
SCSS
$custom: #545cc7;
$custom-light: #8e8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#545cc7",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 235.826,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5262,
    "c": 0.16409,
    "h": 276
  },
  "luminance": 0.13663
}

Semantic roles & 50–950 ramp

primary
#545CC7
secondary
#D3D0A3
accent
#D04EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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