#545BC7#545BC7

#545BC7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.4% C 0.165 H 276.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#545BC7
RGBrgb(84, 91, 199)
HSLhsl(236, 51%, 55%)
HSVhsv(236, 58%, 78%)
CMYKcmyk(57.8%, 54.3%, 0%, 22%)
CIE-LABlab(43.49, 29.11, -57.38)
CIE-LCHlch(43.49, 64.34, 296.90°)
OKLaboklab(52.43% 0.0181 -0.1644)
OKLCHoklch(52.43% 0.165 276.3)
XYZxyz(17.7027, 13.4892, 55.6926)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BC7 #C7C054
analogous
#5494C7 #545BC7 #8654C7
triadic
#545BC7 #C7545B #5BC754
tetradic
#545BC7 #C75494 #C7C054 #54C786
square
#545BC7 #C75494 #C7C054 #54C786
split-complementary
#545BC7 #C78654 #94C754
monochromatic
#282D79 #373EA7 #545BC7 #8287D6 #B0B3E5

Accessibility & contrast

On white

5.68
#545BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#545BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BC7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BC7#FFFFFF#000000##FFFFFF
##545BC71.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136CCB
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#047488
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545bc7;
/* rgb */ color: rgb(84, 91, 199);
/* oklch */ color: oklch(52.4% 0.165 276.3);
Tailwind
colors: {
  custom: {
    50: '#8e89d9',
    500: '#545bc7',
    950: '#000000',
  },
}
SCSS
$custom: #545bc7;
$custom-light: #8e89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#545bc7",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 236.348,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52432,
    "c": 0.1654,
    "h": 276.3
  },
  "luminance": 0.13491
}

Semantic roles & 50–950 ramp

primary
#545BC7
secondary
#D3D0A3
accent
#D24EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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