#545BC3#545BC3

#545BC3 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.160 H 276.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#545BC3
RGBrgb(84, 91, 195)
HSLhsl(236, 48%, 55%)
HSVhsv(236, 57%, 76%)
CMYKcmyk(56.9%, 53.3%, 0%, 23.5%)
CIE-LABlab(43.22, 27.80, -55.50)
CIE-LCHlch(43.22, 62.07, 296.60°)
OKLaboklab(52.14% 0.0179 -0.1589)
OKLCHoklch(52.14% 0.16 276.4)
XYZxyz(17.2444, 13.3059, 53.2788)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BC3 #C3BC54
analogous
#5493C3 #545BC3 #8454C3
triadic
#545BC3 #C3545B #5BC354
tetradic
#545BC3 #C35493 #C3BC54 #54C384
square
#545BC3 #C35493 #C3BC54 #54C384
split-complementary
#545BC3 #C38454 #93C354
monochromatic
#292D74 #393FA1 #545BC3 #8186D3 #AFB2E3

Accessibility & contrast

On white

5.74
#545BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#545BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BC3
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BC3#FFFFFF#000000##FFFFFF
##545BC31.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6BC7
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#117386
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545bc3;
/* rgb */ color: rgb(84, 91, 195);
/* oklch */ color: oklch(52.1% 0.160 276.4);
Tailwind
colors: {
  custom: {
    50: '#8d89d6',
    500: '#545bc3',
    950: '#000000',
  },
}
SCSS
$custom: #545bc3;
$custom-light: #8d89d6;
$custom-dark: #000000;
JSON
{
  "hex": "#545bc3",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 195
  },
  "hsl": {
    "h": 236.216,
    "s": 48.052,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52143,
    "c": 0.15989,
    "h": 276.4
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#545BC3
secondary
#D1CEA2
accent
#CF50D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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