#545BA2#545BA2

#545BA2 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 49.9% C 0.113 H 277.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#545BA2
RGBrgb(84, 91, 162)
HSLhsl(235, 32%, 48%)
HSVhsv(235, 48%, 64%)
CMYKcmyk(48.1%, 43.8%, 0%, 36.5%)
CIE-LABlab(41.18, 17.09, -39.40)
CIE-LCHlch(41.18, 42.95, 293.44°)
OKLaboklab(49.94% 0.0142 -0.1116)
OKLCHoklch(49.94% 0.113 277.3)
XYZxyz(13.9168, 11.9749, 35.7535)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BA2 #A29B54
analogous
#5482A2 #545BA2 #7454A2
triadic
#545BA2 #A2545B #5BA254
tetradic
#545BA2 #A25482 #A29B54 #54A274
square
#545BA2 #A25482 #A29B54 #54A274
split-complementary
#545BA2 #A27454 #82A254
monochromatic
#2A2E51 #3F447A #545BA2 #797FBA #A2A6CF

Accessibility & contrast

On white

6.19
#545BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#545BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BA2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BA2#FFFFFF#000000##FFFFFF
##545BA21.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A5
Deuteranopia (green-blind)
#395EA0
Tritanopia (blue-blind)
#376A76
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #545ba2;
/* rgb */ color: rgb(84, 91, 162);
/* oklch */ color: oklch(49.9% 0.113 277.3);
Tailwind
colors: {
  custom: {
    50: '#8989be',
    500: '#545ba2',
    950: '#000000',
  },
}
SCSS
$custom: #545ba2;
$custom-light: #8989be;
$custom-dark: #000000;
JSON
{
  "hex": "#545ba2",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 234.615,
    "s": 31.707,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49939,
    "c": 0.1125,
    "h": 277.3
  },
  "luminance": 0.11976
}

Semantic roles & 50–950 ramp

primary
#545BA2
secondary
#BCB996
accent
#BF60C8
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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