#545AC8#545AC8

#545AC8 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.168 H 276.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#545AC8
RGBrgb(84, 90, 200)
HSLhsl(237, 51%, 56%)
HSVhsv(237, 58%, 78%)
CMYKcmyk(58%, 55%, 0%, 21.6%)
CIE-LABlab(43.31, 30.07, -58.25)
CIE-LCHlch(43.31, 65.55, 297.30°)
OKLaboklab(52.32% 0.0192 -0.167)
OKLCHoklch(52.32% 0.168 276.5)
XYZxyz(17.7343, 13.3660, 56.2778)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AC8 #C8C254
analogous
#5494C8 #545AC8 #8854C8
triadic
#545AC8 #C8545A #5AC854
tetradic
#545AC8 #C85494 #C8C254 #54C888
square
#545AC8 #C85494 #C8C254 #54C888
split-complementary
#545AC8 #C88854 #94C854
monochromatic
#272C7A #363CA9 #545AC8 #8287D7 #B1B3E6

Accessibility & contrast

On white

5.72
#545AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#545AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AC8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AC8#FFFFFF#000000##FFFFFF
##545AC81.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096BCC
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#017488
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545ac8;
/* rgb */ color: rgb(84, 90, 200);
/* oklch */ color: oklch(52.3% 0.168 276.5);
Tailwind
colors: {
  custom: {
    50: '#8e88d9',
    500: '#545ac8',
    950: '#000000',
  },
}
SCSS
$custom: #545ac8;
$custom-light: #8e88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#545ac8",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 236.897,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52318,
    "c": 0.16808,
    "h": 276.5
  },
  "luminance": 0.13367
}

Semantic roles & 50–950 ramp

primary
#545AC8
secondary
#D4D2A4
accent
#D34DDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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