#545CA5#545CA5

#545CA5 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.3% C 0.116 H 276.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#545CA5
RGBrgb(84, 92, 165)
HSLhsl(234, 33%, 49%)
HSVhsv(234, 49%, 65%)
CMYKcmyk(49.1%, 44.2%, 0%, 35.3%)
CIE-LABlab(41.62, 17.41, -40.48)
CIE-LCHlch(41.62, 44.06, 293.27°)
OKLaboklab(50.33% 0.0135 -0.1147)
OKLCHoklch(50.33% 0.116 276.7)
XYZxyz(14.2727, 12.2549, 37.2034)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CA5 #A59D54
analogous
#5485A5 #545CA5 #7554A5
triadic
#545CA5 #A5545C #5CA554
tetradic
#545CA5 #A55485 #A59D54 #54A575
square
#545CA5 #A55485 #A59D54 #54A575
split-complementary
#545CA5 #A57554 #85A554
monochromatic
#2B2F54 #3F457C #545CA5 #7B81BC #A3A8D0

Accessibility & contrast

On white

6.08
#545CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#545CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CA5
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CA5#FFFFFF#000000##FFFFFF
##545CA51.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F66A8
Deuteranopia (green-blind)
#385FA3
Tritanopia (blue-blind)
#356B78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #545ca5;
/* rgb */ color: rgb(84, 92, 165);
/* oklch */ color: oklch(50.3% 0.116 276.7);
Tailwind
colors: {
  custom: {
    50: '#898ac0',
    500: '#545ca5',
    950: '#000000',
  },
}
SCSS
$custom: #545ca5;
$custom-light: #898ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#545ca5",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 165
  },
  "hsl": {
    "h": 234.074,
    "s": 32.53,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50332,
    "c": 0.11554,
    "h": 276.7
  },
  "luminance": 0.12256
}

Semantic roles & 50–950 ramp

primary
#545CA5
secondary
#BEBA97
accent
#BE5FC9
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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