#545CC0#545CC0

#545CC0 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.154 H 276.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#545CC0
RGBrgb(84, 92, 192)
HSLhsl(236, 46%, 54%)
HSVhsv(236, 56%, 75%)
CMYKcmyk(56.3%, 52.1%, 0%, 24.7%)
CIE-LABlab(43.28, 26.18, -53.67)
CIE-LCHlch(43.28, 59.71, 296.01°)
OKLaboklab(52.12% 0.0167 -0.1535)
OKLCHoklch(52.12% 0.154 276.2)
XYZxyz(16.9947, 13.3437, 51.5390)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CC0 #C0B854
analogous
#5492C0 #545CC0 #8254C0
triadic
#545CC0 #C0545C #5CC054
tetradic
#545CC0 #C05492 #C0B854 #54C082
square
#545CC0 #C05492 #C0B854 #54C082
split-complementary
#545CC0 #C08254 #92C054
monochromatic
#292F70 #3A419D #545CC0 #8187D0 #ADB1E1

Accessibility & contrast

On white

5.72
#545CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#545CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CC0
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CC0#FFFFFF#000000##FFFFFF
##545CC01.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256BC4
Deuteranopia (green-blind)
#0E62BE
Tritanopia (blue-blind)
#187385
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545cc0;
/* rgb */ color: rgb(84, 92, 192);
/* oklch */ color: oklch(52.1% 0.154 276.2);
Tailwind
colors: {
  custom: {
    50: '#8d8ad4',
    500: '#545cc0',
    950: '#000000',
  },
}
SCSS
$custom: #545cc0;
$custom-light: #8d8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#545cc0",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 192
  },
  "hsl": {
    "h": 235.556,
    "s": 46.154,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52121,
    "c": 0.15438,
    "h": 276.2
  },
  "luminance": 0.13345
}

Semantic roles & 50–950 ramp

primary
#545CC0
secondary
#CFCBA1
accent
#CC52D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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