#545AC4#545AC4

#545AC4 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.0% C 0.163 H 276.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#545AC4
RGBrgb(84, 90, 196)
HSLhsl(237, 49%, 55%)
HSVhsv(237, 57%, 77%)
CMYKcmyk(57.1%, 54.1%, 0%, 23.1%)
CIE-LABlab(43.04, 28.75, -56.38)
CIE-LCHlch(43.04, 63.28, 297.02°)
OKLaboklab(52.03% 0.019 -0.1615)
OKLCHoklch(52.03% 0.163 276.7)
XYZxyz(17.2729, 13.1814, 53.8479)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AC4 #C4BE54
analogous
#5492C4 #545AC4 #8654C4
triadic
#545AC4 #C4545A #5AC454
tetradic
#545AC4 #C45492 #C4BE54 #54C486
square
#545AC4 #C45492 #C4BE54 #54C486
split-complementary
#545AC4 #C48654 #92C454
monochromatic
#282D75 #383EA3 #545AC4 #8286D4 #AFB2E3

Accessibility & contrast

On white

5.77
#545AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#545AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AC4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AC4#FFFFFF#000000##FFFFFF
##545AC41.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166AC8
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#0F7286
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545ac4;
/* rgb */ color: rgb(84, 90, 196);
/* oklch */ color: oklch(52.0% 0.163 276.7);
Tailwind
colors: {
  custom: {
    50: '#8e88d7',
    500: '#545ac4',
    950: '#000000',
  },
}
SCSS
$custom: #545ac4;
$custom-light: #8e88d7;
$custom-dark: #000000;
JSON
{
  "hex": "#545ac4",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 196
  },
  "hsl": {
    "h": 236.786,
    "s": 48.696,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52026,
    "c": 0.16258,
    "h": 276.7
  },
  "luminance": 0.13183
}

Semantic roles & 50–950 ramp

primary
#545AC4
secondary
#D1CFA2
accent
#D150D8
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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