#545CA9#545CA9

#545CA9 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.6% C 0.121 H 276.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#545CA9
RGBrgb(84, 92, 169)
HSLhsl(234, 34%, 50%)
HSVhsv(234, 50%, 66%)
CMYKcmyk(50.3%, 45.6%, 0%, 33.7%)
CIE-LABlab(41.85, 18.69, -42.48)
CIE-LCHlch(41.85, 46.41, 293.75°)
OKLaboklab(50.58% 0.0141 -0.1206)
OKLCHoklch(50.58% 0.121 276.7)
XYZxyz(14.6425, 12.4028, 39.1508)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CA9 #A9A154
analogous
#5487A9 #545CA9 #7754A9
triadic
#545CA9 #A9545C #5CA954
tetradic
#545CA9 #A95487 #A9A154 #54A977
square
#545CA9 #A95487 #A9A154 #54A977
split-complementary
#545CA9 #A97754 #87A954
monochromatic
#2B2F57 #404680 #545CA9 #7C82BE #A5A9D2

Accessibility & contrast

On white

6.03
#545CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#545CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CA9
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CA9#FFFFFF#000000##FFFFFF
##545CA91.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C66AC
Deuteranopia (green-blind)
#345FA7
Tritanopia (blue-blind)
#326C7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545ca9;
/* rgb */ color: rgb(84, 92, 169);
/* oklch */ color: oklch(50.6% 0.121 276.7);
Tailwind
colors: {
  custom: {
    50: '#8a8ac3',
    500: '#545ca9',
    950: '#000000',
  },
}
SCSS
$custom: #545ca9;
$custom-light: #8a8ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#545ca9",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 169
  },
  "hsl": {
    "h": 234.353,
    "s": 33.597,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50582,
    "c": 0.12143,
    "h": 276.7
  },
  "luminance": 0.12404
}

Semantic roles & 50–950 ramp

primary
#545CA9
secondary
#C0BC99
accent
#C05ECA
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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