#545DD8#545DD8

#545DD8 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.1% C 0.186 H 275.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#545DD8
RGBrgb(84, 93, 216)
HSLhsl(236, 63%, 59%)
HSVhsv(236, 61%, 85%)
CMYKcmyk(61.1%, 56.9%, 0%, 15.3%)
CIE-LABlab(45.18, 33.50, -64.40)
CIE-LCHlch(45.18, 72.60, 297.48°)
OKLaboklab(54.07% 0.0166 -0.1851)
OKLCHoklch(54.07% 0.186 275.1)
XYZxyz(19.9611, 14.6698, 66.7321)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DD8 #D8CF54
analogous
#549FD8 #545DD8 #8D54D8
triadic
#545DD8 #D8545D #5DD854
tetradic
#545DD8 #D8549F #D8CF54 #54D88D
square
#545DD8 #D8549F #D8CF54 #54D88D
split-complementary
#545DD8 #D88D54 #9FD854
monochromatic
#212991 #2C37C2 #545DD8 #868CE3 #B8BBEF

Accessibility & contrast

On white

5.34
#545DD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#545DD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DD8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DD8#FFFFFF#000000##FFFFFF
##545DD81.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545dd8;
/* rgb */ color: rgb(84, 93, 216);
/* oklch */ color: oklch(54.1% 0.186 275.1);
Tailwind
colors: {
  custom: {
    50: '#918be5',
    500: '#545dd8',
    950: '#000000',
  },
}
SCSS
$custom: #545dd8;
$custom-light: #918be5;
$custom-dark: #000000;
JSON
{
  "hex": "#545dd8",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 216
  },
  "hsl": {
    "h": 235.909,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54068,
    "c": 0.18581,
    "h": 275.1
  },
  "luminance": 0.14671
}

Semantic roles & 50–950 ramp

primary
#545DD8
secondary
#DEDAAA
accent
#DB42E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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