#545DC6#545DC6

#545DC6 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.161 H 275.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#545DC6
RGBrgb(84, 93, 198)
HSLhsl(235, 50%, 55%)
HSVhsv(235, 58%, 78%)
CMYKcmyk(57.6%, 53%, 0%, 22.4%)
CIE-LABlab(43.93, 27.54, -56.09)
CIE-LCHlch(43.93, 62.48, 296.15°)
OKLaboklab(52.74% 0.016 -0.1606)
OKLCHoklch(52.74% 0.161 275.7)
XYZxyz(17.7603, 13.7894, 55.1409)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DC6 #C6BD54
analogous
#5496C6 #545DC6 #8454C6
triadic
#545DC6 #C6545D #5DC654
tetradic
#545DC6 #C65496 #C6BD54 #54C684
square
#545DC6 #C65496 #C6BD54 #54C684
split-complementary
#545DC6 #C68454 #96C654
monochromatic
#282E78 #3740A6 #545DC6 #8288D5 #B0B4E5

Accessibility & contrast

On white

5.59
#545DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#545DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DC6
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DC6#FFFFFF#000000##FFFFFF
##545DC61.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6DCA
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#067588
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545dc6;
/* rgb */ color: rgb(84, 93, 198);
/* oklch */ color: oklch(52.7% 0.161 275.7);
Tailwind
colors: {
  custom: {
    50: '#8e8ad8',
    500: '#545dc6',
    950: '#000000',
  },
}
SCSS
$custom: #545dc6;
$custom-light: #8e8ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#545dc6",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 198
  },
  "hsl": {
    "h": 235.263,
    "s": 50,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52738,
    "c": 0.1614,
    "h": 275.7
  },
  "luminance": 0.13791
}

Semantic roles & 50–950 ramp

primary
#545DC6
secondary
#D3CFA3
accent
#CF4EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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