#545CC4#545CC4

#545CC4 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.4% C 0.160 H 276.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#545CC4
RGBrgb(84, 92, 196)
HSLhsl(236, 49%, 55%)
HSVhsv(236, 57%, 77%)
CMYKcmyk(57.1%, 53.1%, 0%, 23.1%)
CIE-LABlab(43.54, 27.50, -55.56)
CIE-LCHlch(43.54, 61.99, 296.33°)
OKLaboklab(52.41% 0.0169 -0.159)
OKLCHoklch(52.41% 0.16 276.1)
XYZxyz(17.4439, 13.5234, 53.9049)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CC4 #C4BC54
analogous
#5494C4 #545CC4 #8454C4
triadic
#545CC4 #C4545C #5CC454
tetradic
#545CC4 #C45494 #C4BC54 #54C484
square
#545CC4 #C45494 #C4BC54 #54C484
split-complementary
#545CC4 #C48454 #94C454
monochromatic
#282E75 #3840A3 #545CC4 #8287D4 #AFB3E3

Accessibility & contrast

On white

5.67
#545CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#545CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CC4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CC4#FFFFFF#000000##FFFFFF
##545CC41.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6CC8
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#0E7487
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545cc4;
/* rgb */ color: rgb(84, 92, 196);
/* oklch */ color: oklch(52.4% 0.160 276.1);
Tailwind
colors: {
  custom: {
    50: '#8d8ad6',
    500: '#545cc4',
    950: '#000000',
  },
}
SCSS
$custom: #545cc4;
$custom-light: #8d8ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#545cc4",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 196
  },
  "hsl": {
    "h": 235.714,
    "s": 48.696,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52405,
    "c": 0.15995,
    "h": 276.1
  },
  "luminance": 0.13525
}

Semantic roles & 50–950 ramp

primary
#545CC4
secondary
#D1CEA2
accent
#CE50D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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