#545A9D#545A9D

#545A9D is a mid, moderate blue. Relative luminance 0.116; OKLCH L 49.4% C 0.106 H 277.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#545A9D
RGBrgb(84, 90, 157)
HSLhsl(235, 30%, 47%)
HSVhsv(235, 46%, 62%)
CMYKcmyk(46.5%, 42.7%, 0%, 38.4%)
CIE-LABlab(40.62, 16.14, -37.30)
CIE-LCHlch(40.62, 40.64, 293.40°)
OKLaboklab(49.43% 0.0146 -0.1055)
OKLCHoklch(49.43% 0.106 277.9)
XYZxyz(13.3963, 11.6308, 33.4308)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A9D #9D9754
analogous
#547F9D #545A9D #72549D
triadic
#545A9D #9D545A #5A9D54
tetradic
#545A9D #9D547F #9D9754 #549D72
square
#545A9D #9D547F #9D9754 #549D72
split-complementary
#545A9D #9D7254 #7F9D54
monochromatic
#292C4D #3F4375 #545A9D #787DB7 #9FA3CC

Accessibility & contrast

On white

6.31
#545A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#545A9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545A9D
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A9D#FFFFFF#000000##FFFFFF
##545A9D1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4063A0
Deuteranopia (green-blind)
#3B5D9B
Tritanopia (blue-blind)
#3B6874
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #545a9d;
/* rgb */ color: rgb(84, 90, 157);
/* oklch */ color: oklch(49.4% 0.106 277.9);
Tailwind
colors: {
  custom: {
    50: '#8888ba',
    500: '#545a9d',
    950: '#000000',
  },
}
SCSS
$custom: #545a9d;
$custom-light: #8888ba;
$custom-dark: #000000;
JSON
{
  "hex": "#545a9d",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 157
  },
  "hsl": {
    "h": 235.068,
    "s": 30.29,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49426,
    "c": 0.10646,
    "h": 277.9
  },
  "luminance": 0.11631
}

Semantic roles & 50–950 ramp

primary
#545A9D
secondary
#B9B694
accent
#BE61C7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #545A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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