#545AD4#545AD4

#545AD4 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.2% C 0.184 H 276.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#545AD4
RGBrgb(84, 90, 212)
HSLhsl(237, 60%, 58%)
HSVhsv(237, 60%, 83%)
CMYKcmyk(60.4%, 57.5%, 0%, 16.9%)
CIE-LABlab(44.16, 34.03, -63.77)
CIE-LCHlch(44.16, 72.28, 298.08°)
OKLaboklab(53.22% 0.0194 -0.1832)
OKLCHoklch(53.22% 0.184 276)
XYZxyz(19.1921, 13.9491, 63.9557)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AD4 #D4CE54
analogous
#549AD4 #545AD4 #8E54D4
triadic
#545AD4 #D4545A #5AD454
tetradic
#545AD4 #D4549A #D4CE54 #54D48E
square
#545AD4 #D4549A #D4CE54 #54D48E
split-complementary
#545AD4 #D48E54 #9AD454
monochromatic
#23288B #2F36BC #545AD4 #8589E0 #B6B8ED

Accessibility & contrast

On white

5.54
#545AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#545AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AD4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AD4#FFFFFF#000000##FFFFFF
##545AD41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#0063D2
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545ad4;
/* rgb */ color: rgb(84, 90, 212);
/* oklch */ color: oklch(53.2% 0.184 276.0);
Tailwind
colors: {
  custom: {
    50: '#9088e2',
    500: '#545ad4',
    950: '#000000',
  },
}
SCSS
$custom: #545ad4;
$custom-light: #9088e2;
$custom-dark: #000000;
JSON
{
  "hex": "#545ad4",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 212
  },
  "hsl": {
    "h": 237.188,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5322,
    "c": 0.18425,
    "h": 276
  },
  "luminance": 0.13951
}

Semantic roles & 50–950 ramp

primary
#545AD4
secondary
#DBD9A8
accent
#DC45E3
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B15
muted
#7E7C84

Preview Lab

Preview with #545AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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