#545AC3#545AC3

#545AC3 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.0% C 0.161 H 276.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#545AC3
RGBrgb(84, 90, 195)
HSLhsl(237, 48%, 55%)
HSVhsv(237, 57%, 76%)
CMYKcmyk(56.9%, 53.8%, 0%, 23.5%)
CIE-LABlab(42.97, 28.42, -55.91)
CIE-LCHlch(42.97, 62.72, 296.95°)
OKLaboklab(51.95% 0.019 -0.1601)
OKLCHoklch(51.95% 0.161 276.8)
XYZxyz(17.1595, 13.1361, 53.2505)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AC3 #C3BD54
analogous
#5491C3 #545AC3 #8654C3
triadic
#545AC3 #C3545A #5AC354
tetradic
#545AC3 #C35491 #C3BD54 #54C386
square
#545AC3 #C35491 #C3BD54 #54C386
split-complementary
#545AC3 #C38654 #91C354
monochromatic
#292D74 #393EA1 #545AC3 #8186D3 #AFB1E3

Accessibility & contrast

On white

5.79
#545AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#545AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AC3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AC3#FFFFFF#000000##FFFFFF
##545AC31.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186AC7
Deuteranopia (green-blind)
#0061C1
Tritanopia (blue-blind)
#127286
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545ac3;
/* rgb */ color: rgb(84, 90, 195);
/* oklch */ color: oklch(52.0% 0.161 276.8);
Tailwind
colors: {
  custom: {
    50: '#8d88d6',
    500: '#545ac3',
    950: '#000000',
  },
}
SCSS
$custom: #545ac3;
$custom-light: #8d88d6;
$custom-dark: #000000;
JSON
{
  "hex": "#545ac3",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 195
  },
  "hsl": {
    "h": 236.757,
    "s": 48.052,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51953,
    "c": 0.16121,
    "h": 276.8
  },
  "luminance": 0.13137
}

Semantic roles & 50–950 ramp

primary
#545AC3
secondary
#D1CEA2
accent
#D050D8
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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