#545CA0#545CA0

#545CA0 is a mid, moderate blue. Relative luminance 0.121; OKLCH L 50.0% C 0.108 H 276.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#545CA0
RGBrgb(84, 92, 160)
HSLhsl(234, 31%, 48%)
HSVhsv(234, 48%, 63%)
CMYKcmyk(47.5%, 42.5%, 0%, 37.3%)
CIE-LABlab(41.34, 15.82, -37.95)
CIE-LCHlch(41.34, 41.12, 292.63°)
OKLaboklab(50.03% 0.0126 -0.1074)
OKLCHoklch(50.03% 0.108 276.7)
XYZxyz(13.8265, 12.0764, 34.8533)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CA0 #A09854
analogous
#5482A0 #545CA0 #7254A0
triadic
#545CA0 #A0545C #5CA054
tetradic
#545CA0 #A05482 #A09854 #54A072
square
#545CA0 #A05482 #A09854 #54A072
split-complementary
#545CA0 #A07254 #82A054
monochromatic
#2A2E50 #3F4578 #545CA0 #797FB8 #A1A6CE

Accessibility & contrast

On white

6.15
#545CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#545CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CA0
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CA0#FFFFFF#000000##FFFFFF
##545CA01.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4265A3
Deuteranopia (green-blind)
#3C5F9E
Tritanopia (blue-blind)
#396A76
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #545ca0;
/* rgb */ color: rgb(84, 92, 160);
/* oklch */ color: oklch(50.0% 0.108 276.7);
Tailwind
colors: {
  custom: {
    50: '#888abc',
    500: '#545ca0',
    950: '#000000',
  },
}
SCSS
$custom: #545ca0;
$custom-light: #888abc;
$custom-dark: #000000;
JSON
{
  "hex": "#545ca0",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 160
  },
  "hsl": {
    "h": 233.684,
    "s": 31.148,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50026,
    "c": 0.10809,
    "h": 276.7
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#545CA0
secondary
#BBB795
accent
#BD60C7
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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