#545CA2#545CA2

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

Color values

HEX#545CA2
RGBrgb(84, 92, 162)
HSLhsl(234, 32%, 48%)
HSVhsv(234, 48%, 64%)
CMYKcmyk(48.1%, 43.2%, 0%, 36.5%)
CIE-LABlab(41.45, 16.45, -38.97)
CIE-LCHlch(41.45, 42.30, 292.89°)
OKLaboklab(50.15% 0.0129 -0.1103)
OKLCHoklch(50.15% 0.111 276.7)
XYZxyz(14.0029, 12.1470, 35.7822)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CA2 #A29A54
analogous
#5483A2 #545CA2 #7354A2
triadic
#545CA2 #A2545C #5CA254
tetradic
#545CA2 #A25483 #A29A54 #54A273
square
#545CA2 #A25483 #A29A54 #54A273
split-complementary
#545CA2 #A27354 #83A254
monochromatic
#2A2E51 #3F457A #545CA2 #7980BA #A2A6CF

Accessibility & contrast

On white

6.12
#545CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#545CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CA2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CA2#FFFFFF#000000##FFFFFF
##545CA21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A5
Deuteranopia (green-blind)
#3A5FA0
Tritanopia (blue-blind)
#376B77
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #545ca2;
/* rgb */ color: rgb(84, 92, 162);
/* oklch */ color: oklch(50.1% 0.111 276.7);
Tailwind
colors: {
  custom: {
    50: '#898abe',
    500: '#545ca2',
    950: '#000000',
  },
}
SCSS
$custom: #545ca2;
$custom-light: #898abe;
$custom-dark: #000000;
JSON
{
  "hex": "#545ca2",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 233.846,
    "s": 31.707,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50147,
    "c": 0.11108,
    "h": 276.7
  },
  "luminance": 0.12148
}

Semantic roles & 50–950 ramp

primary
#545CA2
secondary
#BCB896
accent
#BD60C8
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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