#545CDF#545CDF

#545CDF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.4% C 0.196 H 275.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#545CDF
RGBrgb(84, 92, 223)
HSLhsl(237, 68%, 60%)
HSVhsv(237, 62%, 87%)
CMYKcmyk(62.3%, 58.7%, 0%, 12.5%)
CIE-LABlab(45.45, 36.43, -67.95)
CIE-LCHlch(45.45, 77.10, 298.20°)
OKLaboklab(54.43% 0.0175 -0.1955)
OKLCHoklch(54.43% 0.196 275.1)
XYZxyz(20.7982, 14.8651, 71.5710)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CDF #DFD754
analogous
#54A1DF #545CDF #9254DF
triadic
#545CDF #DF545C #5CDF54
tetradic
#545CDF #DF54A1 #DFD754 #54DF92
square
#545CDF #DF54A1 #DFD754 #54DF92
split-complementary
#545CDF #DF9254 #A1DF54
monochromatic
#1D249C #2730CF #545CDF #888DE9 #BBBEF2

Accessibility & contrast

On white

5.29
#545CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#545CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CDF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CDF#FFFFFF#000000##FFFFFF
##545CDF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #545cdf;
/* rgb */ color: rgb(84, 92, 223);
/* oklch */ color: oklch(54.4% 0.196 275.1);
Tailwind
colors: {
  custom: {
    50: '#928aea',
    500: '#545cdf',
    950: '#000000',
  },
}
SCSS
$custom: #545cdf;
$custom-light: #928aea;
$custom-dark: #000000;
JSON
{
  "hex": "#545cdf",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 236.547,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54429,
    "c": 0.19627,
    "h": 275.1
  },
  "luminance": 0.14867
}

Semantic roles & 50–950 ramp

primary
#545CDF
secondary
#E2DFAD
accent
#C615D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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