#545BCF#545BCF

#545BCF is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.0% C 0.176 H 276.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#545BCF
RGBrgb(84, 91, 207)
HSLhsl(237, 56%, 57%)
HSVhsv(237, 59%, 81%)
CMYKcmyk(59.4%, 56%, 0%, 18.8%)
CIE-LABlab(44.05, 31.76, -61.09)
CIE-LCHlch(44.05, 68.85, 297.47°)
OKLaboklab(53.02% 0.0184 -0.1753)
OKLCHoklch(53.02% 0.176 276)
XYZxyz(18.6561, 13.8706, 60.7136)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BCF #CFC854
analogous
#5499CF #545BCF #8A54CF
triadic
#545BCF #CF545B #5BCF54
tetradic
#545BCF #CF5499 #CFC854 #54CF8A
square
#545BCF #CF5499 #CFC854 #54CF8A
split-complementary
#545BCF #CF8A54 #99CF54
monochromatic
#252A84 #323AB3 #545BCF #8489DC #B4B7EA

Accessibility & contrast

On white

5.56
#545BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#545BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BCF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BCF#FFFFFF#000000##FFFFFF
##545BCF1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545bcf;
/* rgb */ color: rgb(84, 91, 207);
/* oklch */ color: oklch(53.0% 0.176 276.0);
Tailwind
colors: {
  custom: {
    50: '#8f89de',
    500: '#545bcf',
    950: '#000000',
  },
}
SCSS
$custom: #545bcf;
$custom-light: #8f89de;
$custom-dark: #000000;
JSON
{
  "hex": "#545bcf",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 236.585,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53023,
    "c": 0.17628,
    "h": 276
  },
  "luminance": 0.13872
}

Semantic roles & 50–950 ramp

primary
#545BCF
secondary
#D8D6A6
accent
#D748DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #545BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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