#545CBF#545CBF

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

Color values

HEX#545CBF
RGBrgb(84, 92, 191)
HSLhsl(236, 46%, 54%)
HSVhsv(236, 56%, 75%)
CMYKcmyk(56%, 51.8%, 0%, 25.1%)
CIE-LABlab(43.21, 25.85, -53.19)
CIE-LCHlch(43.21, 59.14, 295.92°)
OKLaboklab(52.05% 0.0166 -0.1521)
OKLCHoklch(52.05% 0.153 276.2)
XYZxyz(16.8843, 13.2995, 50.9575)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CBF #BFB754
analogous
#5492BF #545CBF #8254BF
triadic
#545CBF #BF545C #5CBF54
tetradic
#545CBF #BF5492 #BFB754 #54BF82
square
#545CBF #BF5492 #BFB754 #54BF82
split-complementary
#545CBF #BF8254 #92BF54
monochromatic
#2A2F6F #3A429C #545CBF #8186D0 #ADB1E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545CBF#FFFFFF#000000##FFFFFF
##545CBF1.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)
#266BC2
Deuteranopia (green-blind)
#1262BD
Tritanopia (blue-blind)
#197285
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545cbf;
/* rgb */ color: rgb(84, 92, 191);
/* oklch */ color: oklch(52.1% 0.153 276.2);
Tailwind
colors: {
  custom: {
    50: '#8d8ad3',
    500: '#545cbf',
    950: '#000000',
  },
}
SCSS
$custom: #545cbf;
$custom-light: #8d8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#545cbf",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 235.514,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.15298,
    "h": 276.2
  },
  "luminance": 0.13301
}

Semantic roles & 50–950 ramp

primary
#545CBF
secondary
#CECBA1
accent
#CB53D5
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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