#545CD8#545CD8

#545CD8 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.187 H 275.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#545CD8
RGBrgb(84, 92, 216)
HSLhsl(236, 63%, 59%)
HSVhsv(236, 61%, 85%)
CMYKcmyk(61.1%, 57.4%, 0%, 15.3%)
CIE-LABlab(44.94, 34.12, -64.80)
CIE-LCHlch(44.94, 73.23, 297.77°)
OKLaboklab(53.89% 0.0176 -0.1862)
OKLCHoklch(53.89% 0.187 275.4)
XYZxyz(19.8739, 14.4954, 66.7030)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CD8 #D8D054
analogous
#549ED8 #545CD8 #8E54D8
triadic
#545CD8 #D8545C #5CD854
tetradic
#545CD8 #D8549E #D8D054 #54D88E
square
#545CD8 #D8549E #D8D054 #54D88E
split-complementary
#545CD8 #D88E54 #9ED854
monochromatic
#212891 #2C35C2 #545CD8 #868CE3 #B8BBEF

Accessibility & contrast

On white

5.39
#545CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#545CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CD8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CD8#FFFFFF#000000##FFFFFF
##545CD81.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545cd8;
/* rgb */ color: rgb(84, 92, 216);
/* oklch */ color: oklch(53.9% 0.187 275.4);
Tailwind
colors: {
  custom: {
    50: '#918ae5',
    500: '#545cd8',
    950: '#000000',
  },
}
SCSS
$custom: #545cd8;
$custom-light: #918ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#545cd8",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 236.364,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53887,
    "c": 0.18706,
    "h": 275.4
  },
  "luminance": 0.14497
}

Semantic roles & 50–950 ramp

primary
#545CD8
secondary
#DEDBAA
accent
#DC42E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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