#545CC3#545CC3

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

Color values

HEX#545CC3
RGBrgb(84, 92, 195)
HSLhsl(236, 48%, 55%)
HSVhsv(236, 57%, 76%)
CMYKcmyk(56.9%, 52.8%, 0%, 23.5%)
CIE-LABlab(43.47, 27.17, -55.09)
CIE-LCHlch(43.47, 61.42, 296.25°)
OKLaboklab(52.33% 0.0169 -0.1577)
OKLCHoklch(52.33% 0.159 276.1)
XYZxyz(17.3305, 13.4780, 53.3075)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CC3 #C3BB54
analogous
#5493C3 #545CC3 #8454C3
triadic
#545CC3 #C3545C #5CC354
tetradic
#545CC3 #C35493 #C3BB54 #54C384
square
#545CC3 #C35493 #C3BB54 #54C384
split-complementary
#545CC3 #C38454 #93C354
monochromatic
#292E74 #3940A1 #545CC3 #8187D3 #AFB2E3

Accessibility & contrast

On white

5.68
#545CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#545CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CC3
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CC3#FFFFFF#000000##FFFFFF
##545CC31.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206BC7
Deuteranopia (green-blind)
#0162C1
Tritanopia (blue-blind)
#117486
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545cc3;
/* rgb */ color: rgb(84, 92, 195);
/* oklch */ color: oklch(52.3% 0.159 276.1);
Tailwind
colors: {
  custom: {
    50: '#8d8ad6',
    500: '#545cc3',
    950: '#000000',
  },
}
SCSS
$custom: #545cc3;
$custom-light: #8d8ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#545cc3",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 235.676,
    "s": 48.052,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.15856,
    "h": 276.1
  },
  "luminance": 0.13479
}

Semantic roles & 50–950 ramp

primary
#545CC3
secondary
#D1CDA2
accent
#CE50D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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