#545BC5#545BC5

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

Color values

HEX#545BC5
RGBrgb(84, 91, 197)
HSLhsl(236, 49%, 55%)
HSVhsv(236, 57%, 77%)
CMYKcmyk(57.4%, 53.8%, 0%, 22.7%)
CIE-LABlab(43.36, 28.45, -56.44)
CIE-LCHlch(43.36, 63.21, 296.76°)
OKLaboklab(52.29% 0.018 -0.1616)
OKLCHoklch(52.29% 0.163 276.4)
XYZxyz(17.4720, 13.3970, 54.4777)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BC5 #C5BE54
analogous
#5494C5 #545BC5 #8554C5
triadic
#545BC5 #C5545B #5BC554
tetradic
#545BC5 #C55494 #C5BE54 #54C585
square
#545BC5 #C55494 #C5BE54 #54C585
split-complementary
#545BC5 #C58554 #94C554
monochromatic
#282D76 #383EA4 #545BC5 #8287D5 #AFB3E4

Accessibility & contrast

On white

5.71
#545BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#545BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BC5
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BC5#FFFFFF#000000##FFFFFF
##545BC51.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186BC9
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#0B7387
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545bc5;
/* rgb */ color: rgb(84, 91, 197);
/* oklch */ color: oklch(52.3% 0.163 276.4);
Tailwind
colors: {
  custom: {
    50: '#8e89d7',
    500: '#545bc5',
    950: '#000000',
  },
}
SCSS
$custom: #545bc5;
$custom-light: #8e89d7;
$custom-dark: #000000;
JSON
{
  "hex": "#545bc5",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 197
  },
  "hsl": {
    "h": 236.283,
    "s": 49.345,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52287,
    "c": 0.16265,
    "h": 276.4
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

primary
#545BC5
secondary
#D2CFA3
accent
#D04FD9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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