#545CCA#545CCA

#545CCA is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.8% C 0.168 H 275.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#545CCA
RGBrgb(84, 92, 202)
HSLhsl(236, 53%, 56%)
HSVhsv(236, 58%, 79%)
CMYKcmyk(58.4%, 54.5%, 0%, 20.8%)
CIE-LABlab(43.95, 29.48, -58.37)
CIE-LCHlch(43.95, 65.39, 296.80°)
OKLaboklab(52.84% 0.0172 -0.1673)
OKLCHoklch(52.84% 0.168 275.9)
XYZxyz(18.1405, 13.8020, 57.5738)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CCA #CAC254
analogous
#5497CA #545CCA #8754CA
triadic
#545CCA #CA545C #5CCA54
tetradic
#545CCA #CA5497 #CAC254 #54CA87
square
#545CCA #CA5497 #CAC254 #54CA87
split-complementary
#545CCA #CA8754 #97CA54
monochromatic
#272D7D #353DAC #545CCA #8389D8 #B1B5E7

Accessibility & contrast

On white

5.58
#545CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#545CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CCA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CCA#FFFFFF#000000##FFFFFF
##545CCA1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106DCE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#00768A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545cca;
/* rgb */ color: rgb(84, 92, 202);
/* oklch */ color: oklch(52.8% 0.168 275.9);
Tailwind
colors: {
  custom: {
    50: '#8e8adb',
    500: '#545cca',
    950: '#000000',
  },
}
SCSS
$custom: #545cca;
$custom-light: #8e8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#545cca",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 202
  },
  "hsl": {
    "h": 235.932,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52838,
    "c": 0.16821,
    "h": 275.9
  },
  "luminance": 0.13803
}

Semantic roles & 50–950 ramp

primary
#545CCA
secondary
#D5D2A5
accent
#D24CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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