#545DC7#545DC7

#545DC7 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.8% C 0.163 H 275.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#545DC7
RGBrgb(84, 93, 199)
HSLhsl(235, 51%, 55%)
HSVhsv(235, 58%, 78%)
CMYKcmyk(57.8%, 53.3%, 0%, 22%)
CIE-LABlab(44.00, 27.87, -56.56)
CIE-LCHlch(44.00, 63.05, 296.23°)
OKLaboklab(52.81% 0.0161 -0.162)
OKLCHoklch(52.81% 0.163 275.7)
XYZxyz(17.8760, 13.8357, 55.7503)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DC7 #C7BE54
analogous
#5497C7 #545DC7 #8454C7
triadic
#545DC7 #C7545D #5DC754
tetradic
#545DC7 #C75497 #C7BE54 #54C784
square
#545DC7 #C75497 #C7BE54 #54C784
split-complementary
#545DC7 #C78454 #97C754
monochromatic
#282E79 #3740A7 #545DC7 #8289D6 #B0B4E5

Accessibility & contrast

On white

5.57
#545DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #545DC7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DC7#FFFFFF#000000##FFFFFF
##545DC71.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6DCB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#037589
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545dc7;
/* rgb */ color: rgb(84, 93, 199);
/* oklch */ color: oklch(52.8% 0.163 275.7);
Tailwind
colors: {
  custom: {
    50: '#8e8ad9',
    500: '#545dc7',
    950: '#000000',
  },
}
SCSS
$custom: #545dc7;
$custom-light: #8e8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#545dc7",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 235.304,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5281,
    "c": 0.16278,
    "h": 275.7
  },
  "luminance": 0.13837
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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