#545AA2#545AA2

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

Color values

HEX#545AA2
RGBrgb(84, 90, 162)
HSLhsl(235, 32%, 48%)
HSVhsv(235, 48%, 64%)
CMYKcmyk(48.1%, 44.4%, 0%, 36.5%)
CIE-LABlab(40.90, 17.72, -39.83)
CIE-LCHlch(40.90, 43.60, 293.98°)
OKLaboklab(49.73% 0.0155 -0.1129)
OKLCHoklch(49.73% 0.114 277.8)
XYZxyz(13.8319, 11.8050, 35.7252)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AA2 #A29C54
analogous
#5481A2 #545AA2 #7554A2
triadic
#545AA2 #A2545A #5AA254
tetradic
#545AA2 #A25481 #A29C54 #54A275
square
#545AA2 #A25481 #A29C54 #54A275
split-complementary
#545AA2 #A27554 #81A254
monochromatic
#2A2D51 #3F447A #545AA2 #797EBA #A2A5CF

Accessibility & contrast

On white

6.25
#545AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#545AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AA2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AA2#FFFFFF#000000##FFFFFF
##545AA21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D64A5
Deuteranopia (green-blind)
#375EA0
Tritanopia (blue-blind)
#376976
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #545aa2;
/* rgb */ color: rgb(84, 90, 162);
/* oklch */ color: oklch(49.7% 0.114 277.8);
Tailwind
colors: {
  custom: {
    50: '#8988be',
    500: '#545aa2',
    950: '#000000',
  },
}
SCSS
$custom: #545aa2;
$custom-light: #8988be;
$custom-dark: #000000;
JSON
{
  "hex": "#545aa2",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 235.385,
    "s": 31.707,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49732,
    "c": 0.11393,
    "h": 277.8
  },
  "luminance": 0.11806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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