#545AC7#545AC7

#545AC7 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.167 H 276.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#545AC7
RGBrgb(84, 90, 199)
HSLhsl(237, 51%, 55%)
HSVhsv(237, 58%, 78%)
CMYKcmyk(57.8%, 54.8%, 0%, 22%)
CIE-LABlab(43.24, 29.74, -57.78)
CIE-LCHlch(43.24, 64.98, 297.23°)
OKLaboklab(52.24% 0.0191 -0.1656)
OKLCHoklch(52.24% 0.167 276.6)
XYZxyz(17.6178, 13.3194, 55.6643)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AC7 #C7C154
analogous
#5493C7 #545AC7 #8854C7
triadic
#545AC7 #C7545A #5AC754
tetradic
#545AC7 #C75493 #C7C154 #54C788
square
#545AC7 #C75493 #C7C154 #54C788
split-complementary
#545AC7 #C78854 #93C754
monochromatic
#282C79 #373DA7 #545AC7 #8286D6 #B0B3E5

Accessibility & contrast

On white

5.73
#545AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #545AC7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AC7#FFFFFF#000000##FFFFFF
##545AC71.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6BCB
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#047388
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545ac7;
/* rgb */ color: rgb(84, 90, 199);
/* oklch */ color: oklch(52.2% 0.167 276.6);
Tailwind
colors: {
  custom: {
    50: '#8e88d9',
    500: '#545ac7',
    950: '#000000',
  },
}
SCSS
$custom: #545ac7;
$custom-light: #8e88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#545ac7",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 236.87,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52244,
    "c": 0.1667,
    "h": 276.6
  },
  "luminance": 0.13321
}

Semantic roles & 50–950 ramp

primary
#545AC7
secondary
#D3D1A3
accent
#D34EDA
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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