#545BCB#545BCB

#545BCB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.7% C 0.171 H 276.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#545BCB
RGBrgb(84, 91, 203)
HSLhsl(236, 53%, 56%)
HSVhsv(236, 59%, 80%)
CMYKcmyk(58.6%, 55.2%, 0%, 20.4%)
CIE-LABlab(43.77, 30.44, -59.24)
CIE-LCHlch(43.77, 66.60, 297.19°)
OKLaboklab(52.73% 0.0183 -0.1699)
OKLCHoklch(52.73% 0.171 276.1)
XYZxyz(18.1733, 13.6774, 58.1707)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BCB #CBC454
analogous
#5497CB #545BCB #8954CB
triadic
#545BCB #CB545B #5BCB54
tetradic
#545BCB #CB5497 #CBC454 #54CB89
square
#545BCB #CB5497 #CBC454 #54CB89
split-complementary
#545BCB #CB8954 #97CB54
monochromatic
#262C7E #353CAD #545BCB #8388D9 #B2B5E8

Accessibility & contrast

On white

5.62
#545BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#545BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BCB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BCB#FFFFFF#000000##FFFFFF
##545BCB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046DCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545bcb;
/* rgb */ color: rgb(84, 91, 203);
/* oklch */ color: oklch(52.7% 0.171 276.1);
Tailwind
colors: {
  custom: {
    50: '#8f89dc',
    500: '#545bcb',
    950: '#000000',
  },
}
SCSS
$custom: #545bcb;
$custom-light: #8f89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#545bcb",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 236.471,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52725,
    "c": 0.17087,
    "h": 276.1
  },
  "luminance": 0.13679
}

Semantic roles & 50–950 ramp

primary
#545BCB
secondary
#D6D3A5
accent
#D44BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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