#545DA7#545DA7

#545DA7 is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.7% C 0.117 H 276.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#545DA7
RGBrgb(84, 93, 167)
HSLhsl(233, 33%, 49%)
HSVhsv(233, 50%, 65%)
CMYKcmyk(49.7%, 44.3%, 0%, 34.5%)
CIE-LABlab(42.00, 17.41, -41.05)
CIE-LCHlch(42.00, 44.59, 292.99°)
OKLaboklab(50.66% 0.0126 -0.1164)
OKLCHoklch(50.66% 0.117 276.2)
XYZxyz(14.5434, 12.5027, 38.1986)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DA7 #A79E54
analogous
#5487A7 #545DA7 #7554A7
triadic
#545DA7 #A7545D #5DA754
tetradic
#545DA7 #A75487 #A79E54 #54A775
square
#545DA7 #A75487 #A79E54 #54A775
split-complementary
#545DA7 #A77554 #87A754
monochromatic
#2B3056 #40467E #545DA7 #7B82BD #A4A9D1

Accessibility & contrast

On white

6.00
#545DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#545DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DA7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DA7#FFFFFF#000000##FFFFFF
##545DA71.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F67AA
Deuteranopia (green-blind)
#3760A5
Tritanopia (blue-blind)
#346D7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545da7;
/* rgb */ color: rgb(84, 93, 167);
/* oklch */ color: oklch(50.7% 0.117 276.2);
Tailwind
colors: {
  custom: {
    50: '#898ac1',
    500: '#545da7',
    950: '#000000',
  },
}
SCSS
$custom: #545da7;
$custom-light: #898ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#545da7",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 167
  },
  "hsl": {
    "h": 233.494,
    "s": 33.068,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50663,
    "c": 0.11709,
    "h": 276.2
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

primary
#545DA7
secondary
#BFBB98
accent
#BE5FC9
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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