#545FA3#545FA3

#545FA3 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 50.8% C 0.108 H 274.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#545FA3
RGBrgb(84, 95, 163)
HSLhsl(232, 32%, 48%)
HSVhsv(232, 48%, 64%)
CMYKcmyk(48.5%, 41.7%, 0%, 36.1%)
CIE-LABlab(42.33, 14.87, -38.17)
CIE-LCHlch(42.33, 40.96, 291.29°)
OKLaboklab(50.84% 0.0093 -0.108)
OKLCHoklch(50.84% 0.108 274.9)
XYZxyz(14.3572, 12.7128, 36.3405)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FA3 #A39854
analogous
#5486A3 #545FA3 #7054A3
triadic
#545FA3 #A3545F #5FA354
tetradic
#545FA3 #A35486 #A39854 #54A370
square
#545FA3 #A35486 #A39854 #54A370
split-complementary
#545FA3 #A37054 #86A354
monochromatic
#2A3052 #3F477B #545FA3 #7A83BA #A2A8CF

Accessibility & contrast

On white

5.93
#545FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#545FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FA3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FA3#FFFFFF#000000##FFFFFF
##545FA31.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A6
Deuteranopia (green-blind)
#3E61A1
Tritanopia (blue-blind)
#366D79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545fa3;
/* rgb */ color: rgb(84, 95, 163);
/* oklch */ color: oklch(50.8% 0.108 274.9);
Tailwind
colors: {
  custom: {
    50: '#898cbe',
    500: '#545fa3',
    950: '#000000',
  },
}
SCSS
$custom: #545fa3;
$custom-light: #898cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#545fa3",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 231.646,
    "s": 31.984,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50837,
    "c": 0.10836,
    "h": 274.9
  },
  "luminance": 0.12714
}

Semantic roles & 50–950 ramp

primary
#545FA3
secondary
#BDB796
accent
#BA60C8
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #545FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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