#545DA5#545DA5

#545DA5 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.5% C 0.114 H 276.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#545DA5
RGBrgb(84, 93, 165)
HSLhsl(233, 33%, 49%)
HSVhsv(233, 49%, 65%)
CMYKcmyk(49.1%, 43.6%, 0%, 35.3%)
CIE-LABlab(41.89, 16.77, -40.05)
CIE-LCHlch(41.89, 43.42, 292.73°)
OKLaboklab(50.54% 0.0122 -0.1135)
OKLCHoklch(50.54% 0.114 276.1)
XYZxyz(14.3599, 12.4293, 37.2324)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DA5 #A59C54
analogous
#5486A5 #545DA5 #7454A5
triadic
#545DA5 #A5545D #5DA554
tetradic
#545DA5 #A55486 #A59C54 #54A574
square
#545DA5 #A55486 #A59C54 #54A574
split-complementary
#545DA5 #A57454 #86A554
monochromatic
#2B2F54 #3F467C #545DA5 #7B82BC #A3A8D0

Accessibility & contrast

On white

6.02
#545DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#545DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DA5
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DA5#FFFFFF#000000##FFFFFF
##545DA51.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4066A8
Deuteranopia (green-blind)
#3960A3
Tritanopia (blue-blind)
#356C79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545da5;
/* rgb */ color: rgb(84, 93, 165);
/* oklch */ color: oklch(50.5% 0.114 276.1);
Tailwind
colors: {
  custom: {
    50: '#898ac0',
    500: '#545da5',
    950: '#000000',
  },
}
SCSS
$custom: #545da5;
$custom-light: #898ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#545da5",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 165
  },
  "hsl": {
    "h": 233.333,
    "s": 32.53,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50539,
    "c": 0.11413,
    "h": 276.1
  },
  "luminance": 0.1243
}

Semantic roles & 50–950 ramp

primary
#545DA5
secondary
#BEB997
accent
#BD5FC9
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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