#545CDC#545CDC

#545CDC is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.2% C 0.192 H 275.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#545CDC
RGBrgb(84, 92, 220)
HSLhsl(236, 66%, 60%)
HSVhsv(236, 62%, 86%)
CMYKcmyk(61.8%, 58.2%, 0%, 13.7%)
CIE-LABlab(45.23, 35.44, -66.60)
CIE-LCHlch(45.23, 75.45, 298.02°)
OKLaboklab(54.2% 0.0176 -0.1915)
OKLCHoklch(54.2% 0.192 275.2)
XYZxyz(20.3973, 14.7048, 69.4597)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CDC #DCD454
analogous
#54A0DC #545CDC #9054DC
triadic
#545CDC #DC545C #5CDC54
tetradic
#545CDC #DC54A0 #DCD454 #54DC90
square
#545CDC #DC54A0 #DCD454 #54DC90
split-complementary
#545CDC #DC9054 #A0DC54
monochromatic
#1F2697 #2933CA #545CDC #878CE6 #BABDF1

Accessibility & contrast

On white

5.33
#545CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#545CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CDC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CDC#FFFFFF#000000##FFFFFF
##545CDC1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545cdc;
/* rgb */ color: rgb(84, 92, 220);
/* oklch */ color: oklch(54.2% 0.192 275.2);
Tailwind
colors: {
  custom: {
    50: '#918ae8',
    500: '#545cdc',
    950: '#000000',
  },
}
SCSS
$custom: #545cdc;
$custom-light: #918ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#545cdc",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 236.471,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54195,
    "c": 0.19234,
    "h": 275.2
  },
  "luminance": 0.14706
}

Semantic roles & 50–950 ramp

primary
#545CDC
secondary
#E0DDAC
accent
#DF3FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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