#545CC2#545CC2

#545CC2 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.157 H 276.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#545CC2
RGBrgb(84, 92, 194)
HSLhsl(236, 47%, 55%)
HSVhsv(236, 57%, 76%)
CMYKcmyk(56.7%, 52.6%, 0%, 23.9%)
CIE-LABlab(43.41, 26.84, -54.61)
CIE-LCHlch(43.41, 60.85, 296.17°)
OKLaboklab(52.26% 0.0168 -0.1563)
OKLCHoklch(52.26% 0.157 276.1)
XYZxyz(17.2178, 13.4329, 52.7140)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CC2 #C2BA54
analogous
#5493C2 #545CC2 #8354C2
triadic
#545CC2 #C2545C #5CC254
tetradic
#545CC2 #C25493 #C2BA54 #54C283
square
#545CC2 #C25493 #C2BA54 #54C283
split-complementary
#545CC2 #C28354 #93C254
monochromatic
#292E73 #3940A0 #545CC2 #8187D2 #AEB2E2

Accessibility & contrast

On white

5.70
#545CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#545CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CC2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CC2#FFFFFF#000000##FFFFFF
##545CC21.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226BC6
Deuteranopia (green-blind)
#0662C0
Tritanopia (blue-blind)
#137386
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545cc2;
/* rgb */ color: rgb(84, 92, 194);
/* oklch */ color: oklch(52.3% 0.157 276.1);
Tailwind
colors: {
  custom: {
    50: '#8d8ad5',
    500: '#545cc2',
    950: '#000000',
  },
}
SCSS
$custom: #545cc2;
$custom-light: #8d8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#545cc2",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 235.636,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52262,
    "c": 0.15717,
    "h": 276.1
  },
  "luminance": 0.13434
}

Semantic roles & 50–950 ramp

primary
#545CC2
secondary
#D0CDA2
accent
#CD51D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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