#545CA8#545CA8

#545CA8 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.5% C 0.120 H 276.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#545CA8
RGBrgb(84, 92, 168)
HSLhsl(234, 33%, 49%)
HSVhsv(234, 50%, 66%)
CMYKcmyk(50%, 45.2%, 0%, 34.1%)
CIE-LABlab(41.79, 18.37, -41.98)
CIE-LCHlch(41.79, 45.82, 293.63°)
OKLaboklab(50.52% 0.014 -0.1191)
OKLCHoklch(50.52% 0.12 276.7)
XYZxyz(14.5490, 12.3654, 38.6583)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CA8 #A8A054
analogous
#5486A8 #545CA8 #7654A8
triadic
#545CA8 #A8545C #5CA854
tetradic
#545CA8 #A85486 #A8A054 #54A876
square
#545CA8 #A85486 #A8A054 #54A876
split-complementary
#545CA8 #A87654 #86A854
monochromatic
#2B2F56 #40467F #545CA8 #7C82BD #A5A9D2

Accessibility & contrast

On white

6.05
#545CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#545CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CA8
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CA8#FFFFFF#000000##FFFFFF
##545CA81.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D66AB
Deuteranopia (green-blind)
#355FA6
Tritanopia (blue-blind)
#336C7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545ca8;
/* rgb */ color: rgb(84, 92, 168);
/* oklch */ color: oklch(50.5% 0.120 276.7);
Tailwind
colors: {
  custom: {
    50: '#898ac2',
    500: '#545ca8',
    950: '#000000',
  },
}
SCSS
$custom: #545ca8;
$custom-light: #898ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#545ca8",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 168
  },
  "hsl": {
    "h": 234.286,
    "s": 33.333,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50519,
    "c": 0.11996,
    "h": 276.7
  },
  "luminance": 0.12366
}

Semantic roles & 50–950 ramp

primary
#545CA8
secondary
#BFBC99
accent
#BF5EC9
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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