#545AA3#545AA3

#545AA3 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.8% C 0.115 H 277.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#545AA3
RGBrgb(84, 90, 163)
HSLhsl(235, 32%, 48%)
HSVhsv(235, 48%, 64%)
CMYKcmyk(48.5%, 44.8%, 0%, 36.1%)
CIE-LABlab(40.96, 18.04, -40.34)
CIE-LCHlch(40.96, 44.18, 294.09°)
OKLaboklab(49.8% 0.0156 -0.1143)
OKLCHoklch(49.8% 0.115 277.8)
XYZxyz(13.9211, 11.8407, 36.1952)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AA3 #A39D54
analogous
#5481A3 #545AA3 #7554A3
triadic
#545AA3 #A3545A #5AA354
tetradic
#545AA3 #A35481 #A39D54 #54A375
square
#545AA3 #A35481 #A39D54 #54A375
split-complementary
#545AA3 #A37554 #81A354
monochromatic
#2A2D52 #3F447B #545AA3 #7A7FBA #A2A6CF

Accessibility & contrast

On white

6.23
#545AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#545AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AA3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AA3#FFFFFF#000000##FFFFFF
##545AA31.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D64A6
Deuteranopia (green-blind)
#365EA1
Tritanopia (blue-blind)
#376976
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #545aa3;
/* rgb */ color: rgb(84, 90, 163);
/* oklch */ color: oklch(49.8% 0.115 277.8);
Tailwind
colors: {
  custom: {
    50: '#8988bf',
    500: '#545aa3',
    950: '#000000',
  },
}
SCSS
$custom: #545aa3;
$custom-light: #8988bf;
$custom-dark: #000000;
JSON
{
  "hex": "#545aa3",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 163
  },
  "hsl": {
    "h": 235.443,
    "s": 31.984,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49795,
    "c": 0.1154,
    "h": 277.8
  },
  "luminance": 0.11841
}

Semantic roles & 50–950 ramp

primary
#545AA3
secondary
#BDBA96
accent
#C060C8
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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