#545AC9#545AC9

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

Color values

HEX#545AC9
RGBrgb(84, 90, 201)
HSLhsl(237, 52%, 56%)
HSVhsv(237, 58%, 79%)
CMYKcmyk(58.2%, 55.2%, 0%, 21.2%)
CIE-LABlab(43.38, 30.40, -58.71)
CIE-LCHlch(43.38, 66.11, 297.37°)
OKLaboklab(52.39% 0.0192 -0.1683)
OKLCHoklch(52.39% 0.169 276.5)
XYZxyz(17.8515, 13.4129, 56.8953)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AC9 #C9C354
analogous
#5494C9 #545AC9 #8854C9
triadic
#545AC9 #C9545A #5AC954
tetradic
#545AC9 #C95494 #C9C354 #54C988
square
#545AC9 #C95494 #C9C354 #54C988
split-complementary
#545AC9 #C98854 #94C954
monochromatic
#272B7C #363CAA #545AC9 #8387D8 #B1B4E6

Accessibility & contrast

On white

5.70
#545AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#545AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AC9
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AC9#FFFFFF#000000##FFFFFF
##545AC91.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056CCD
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545ac9;
/* rgb */ color: rgb(84, 90, 201);
/* oklch */ color: oklch(52.4% 0.169 276.5);
Tailwind
colors: {
  custom: {
    50: '#8e88da',
    500: '#545ac9',
    950: '#000000',
  },
}
SCSS
$custom: #545ac9;
$custom-light: #8e88da;
$custom-dark: #000000;
JSON
{
  "hex": "#545ac9",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 201
  },
  "hsl": {
    "h": 236.923,
    "s": 52,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52391,
    "c": 0.16944,
    "h": 276.5
  },
  "luminance": 0.13414
}

Semantic roles & 50–950 ramp

primary
#545AC9
secondary
#D5D2A4
accent
#D44CDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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