#545FA9#545FA9

#545FA9 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.2% C 0.117 H 275.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#545FA9
RGBrgb(84, 95, 169)
HSLhsl(232, 34%, 50%)
HSVhsv(232, 50%, 66%)
CMYKcmyk(50.3%, 43.8%, 0%, 33.7%)
CIE-LABlab(42.66, 16.79, -41.18)
CIE-LCHlch(42.66, 44.48, 292.18°)
OKLaboklab(51.2% 0.0104 -0.1168)
OKLCHoklch(51.2% 0.117 275.1)
XYZxyz(14.9075, 12.9329, 39.2392)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FA9 #A99E54
analogous
#548AA9 #545FA9 #7354A9
triadic
#545FA9 #A9545F #5FA954
tetradic
#545FA9 #A9548A #A99E54 #54A973
square
#545FA9 #A9548A #A99E54 #54A973
split-complementary
#545FA9 #A97354 #8AA954
monochromatic
#2B3157 #404880 #545FA9 #7C85BE #A5ABD2

Accessibility & contrast

On white

5.85
#545FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#545FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FA9
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FA9#FFFFFF#000000##FFFFFF
##545FA91.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4168AC
Deuteranopia (green-blind)
#3961A7
Tritanopia (blue-blind)
#326F7C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545fa9;
/* rgb */ color: rgb(84, 95, 169);
/* oklch */ color: oklch(51.2% 0.117 275.1);
Tailwind
colors: {
  custom: {
    50: '#898cc3',
    500: '#545fa9',
    950: '#000000',
  },
}
SCSS
$custom: #545fa9;
$custom-light: #898cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#545fa9",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 169
  },
  "hsl": {
    "h": 232.235,
    "s": 33.597,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51202,
    "c": 0.11725,
    "h": 275.1
  },
  "luminance": 0.12934
}

Semantic roles & 50–950 ramp

primary
#545FA9
secondary
#C0BB99
accent
#BC5ECA
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #545FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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