#545DC8#545DC8

#545DC8 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.9% C 0.164 H 275.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#545DC8
RGBrgb(84, 93, 200)
HSLhsl(235, 51%, 56%)
HSVhsv(235, 58%, 78%)
CMYKcmyk(58%, 53.5%, 0%, 21.6%)
CIE-LABlab(44.06, 28.20, -57.03)
CIE-LCHlch(44.06, 63.62, 296.31°)
OKLaboklab(52.88% 0.0161 -0.1634)
OKLCHoklch(52.88% 0.164 275.6)
XYZxyz(17.9925, 13.8823, 56.3638)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DC8 #C8BF54
analogous
#5497C8 #545DC8 #8554C8
triadic
#545DC8 #C8545D #5DC854
tetradic
#545DC8 #C85497 #C8BF54 #54C885
square
#545DC8 #C85497 #C8BF54 #54C885
split-complementary
#545DC8 #C88554 #97C854
monochromatic
#272E7A #363FA9 #545DC8 #8289D7 #B1B5E6

Accessibility & contrast

On white

5.56
#545DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#545DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DC8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DC8#FFFFFF#000000##FFFFFF
##545DC81.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6DCC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545dc8;
/* rgb */ color: rgb(84, 93, 200);
/* oklch */ color: oklch(52.9% 0.164 275.6);
Tailwind
colors: {
  custom: {
    50: '#8e8ad9',
    500: '#545dc8',
    950: '#000000',
  },
}
SCSS
$custom: #545dc8;
$custom-light: #8e8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#545dc8",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 235.345,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52882,
    "c": 0.16415,
    "h": 275.6
  },
  "luminance": 0.13884
}

Semantic roles & 50–950 ramp

primary
#545DC8
secondary
#D4D0A4
accent
#D04DDB
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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