#545DC5#545DC5

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

Color values

HEX#545DC5
RGBrgb(84, 93, 197)
HSLhsl(235, 49%, 55%)
HSVhsv(235, 57%, 77%)
CMYKcmyk(57.4%, 52.8%, 0%, 22.7%)
CIE-LABlab(43.86, 27.20, -55.62)
CIE-LCHlch(43.86, 61.92, 296.06°)
OKLaboklab(52.67% 0.016 -0.1592)
OKLCHoklch(52.67% 0.16 275.7)
XYZxyz(17.6453, 13.7435, 54.5354)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DC5 #C5BC54
analogous
#5496C5 #545DC5 #8354C5
triadic
#545DC5 #C5545D #5DC554
tetradic
#545DC5 #C55496 #C5BC54 #54C583
square
#545DC5 #C55496 #C5BC54 #54C583
split-complementary
#545DC5 #C58354 #96C554
monochromatic
#282E76 #3840A4 #545DC5 #8288D5 #AFB4E4

Accessibility & contrast

On white

5.60
#545DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#545DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DC5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DC5#FFFFFF#000000##FFFFFF
##545DC51.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206DC9
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#0A7588
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545dc5;
/* rgb */ color: rgb(84, 93, 197);
/* oklch */ color: oklch(52.7% 0.160 275.7);
Tailwind
colors: {
  custom: {
    50: '#8e8ad7',
    500: '#545dc5',
    950: '#000000',
  },
}
SCSS
$custom: #545dc5;
$custom-light: #8e8ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#545dc5",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 197
  },
  "hsl": {
    "h": 235.221,
    "s": 49.345,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.16002,
    "h": 275.7
  },
  "luminance": 0.13745
}

Semantic roles & 50–950 ramp

primary
#545DC5
secondary
#D2CEA3
accent
#CE4FD9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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