#545BA1#545BA1

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

Color values

HEX#545BA1
RGBrgb(84, 91, 161)
HSLhsl(235, 31%, 48%)
HSVhsv(235, 48%, 63%)
CMYKcmyk(47.8%, 43.5%, 0%, 36.9%)
CIE-LABlab(41.12, 16.77, -38.90)
CIE-LCHlch(41.12, 42.36, 293.32°)
OKLaboklab(49.88% 0.014 -0.1101)
OKLCHoklch(49.88% 0.111 277.3)
XYZxyz(13.8283, 11.9395, 35.2872)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BA1 #A19A54
analogous
#5482A1 #545BA1 #7354A1
triadic
#545BA1 #A1545B #5BA154
tetradic
#545BA1 #A15482 #A19A54 #54A173
square
#545BA1 #A15482 #A19A54 #54A173
split-complementary
#545BA1 #A17354 #82A154
monochromatic
#2A2E51 #3F4479 #545BA1 #797FB9 #A1A5CE

Accessibility & contrast

On white

6.20
#545BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#545BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BA1
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BA1#FFFFFF#000000##FFFFFF
##545BA11.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4064A4
Deuteranopia (green-blind)
#395E9F
Tritanopia (blue-blind)
#386A76
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #545ba1;
/* rgb */ color: rgb(84, 91, 161);
/* oklch */ color: oklch(49.9% 0.111 277.3);
Tailwind
colors: {
  custom: {
    50: '#8989bd',
    500: '#545ba1',
    950: '#000000',
  },
}
SCSS
$custom: #545ba1;
$custom-light: #8989bd;
$custom-dark: #000000;
JSON
{
  "hex": "#545ba1",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 161
  },
  "hsl": {
    "h": 234.545,
    "s": 31.429,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49878,
    "c": 0.11101,
    "h": 277.3
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#545BA1
secondary
#BBB895
accent
#BE60C8
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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