#545DC1#545DC1

#545DC1 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.4% C 0.154 H 275.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#545DC1
RGBrgb(84, 93, 193)
HSLhsl(235, 47%, 54%)
HSVhsv(235, 56%, 76%)
CMYKcmyk(56.5%, 51.8%, 0%, 24.3%)
CIE-LABlab(43.60, 25.88, -53.73)
CIE-LCHlch(43.60, 59.64, 295.72°)
OKLaboklab(52.38% 0.0157 -0.1536)
OKLCHoklch(52.38% 0.154 275.8)
XYZxyz(17.1931, 13.5626, 52.1536)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DC1 #C1B854
analogous
#5494C1 #545DC1 #8254C1
triadic
#545DC1 #C1545D #5DC154
tetradic
#545DC1 #C15494 #C1B854 #54C182
square
#545DC1 #C15494 #C1B854 #54C182
split-complementary
#545DC1 #C18254 #94C154
monochromatic
#292F71 #39429E #545DC1 #8188D1 #AEB2E2

Accessibility & contrast

On white

5.66
#545DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#545DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DC1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DC1#FFFFFF#000000##FFFFFF
##545DC11.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266CC5
Deuteranopia (green-blind)
#1063BF
Tritanopia (blue-blind)
#157486
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545dc1;
/* rgb */ color: rgb(84, 93, 193);
/* oklch */ color: oklch(52.4% 0.154 275.8);
Tailwind
colors: {
  custom: {
    50: '#8d8ad4',
    500: '#545dc1',
    950: '#000000',
  },
}
SCSS
$custom: #545dc1;
$custom-light: #8d8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#545dc1",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 193
  },
  "hsl": {
    "h": 235.046,
    "s": 46.781,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52384,
    "c": 0.15445,
    "h": 275.8
  },
  "luminance": 0.13564
}

Semantic roles & 50–950 ramp

primary
#545DC1
secondary
#D0CCA1
accent
#CB51D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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