#545DCA#545DCA

#545DCA is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.167 H 275.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#545DCA
RGBrgb(84, 93, 202)
HSLhsl(235, 53%, 56%)
HSVhsv(235, 58%, 79%)
CMYKcmyk(58.4%, 54%, 0%, 20.8%)
CIE-LABlab(44.20, 28.86, -57.96)
CIE-LCHlch(44.20, 64.75, 296.47°)
OKLaboklab(53.03% 0.0162 -0.1661)
OKLCHoklch(53.03% 0.167 275.6)
XYZxyz(18.2277, 13.9764, 57.6029)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DCA #CAC154
analogous
#5498CA #545DCA #8654CA
triadic
#545DCA #CA545D #5DCA54
tetradic
#545DCA #CA5498 #CAC154 #54CA86
square
#545DCA #CA5498 #CAC154 #54CA86
split-complementary
#545DCA #CA8654 #98CA54
monochromatic
#272D7D #353EAC #545DCA #8389D8 #B1B6E7

Accessibility & contrast

On white

5.53
#545DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#545DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DCA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DCA#FFFFFF#000000##FFFFFF
##545DCA1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156ECE
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#00768A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545dca;
/* rgb */ color: rgb(84, 93, 202);
/* oklch */ color: oklch(53.0% 0.167 275.6);
Tailwind
colors: {
  custom: {
    50: '#8e8adb',
    500: '#545dca',
    950: '#000000',
  },
}
SCSS
$custom: #545dca;
$custom-light: #8e8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#545dca",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 235.424,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53026,
    "c": 0.1669,
    "h": 275.6
  },
  "luminance": 0.13978
}

Semantic roles & 50–950 ramp

primary
#545DCA
secondary
#D5D2A5
accent
#D14CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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