#545AC5#545AC5

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

Color values

HEX#545AC5
RGBrgb(84, 90, 197)
HSLhsl(237, 49%, 55%)
HSVhsv(237, 57%, 77%)
CMYKcmyk(57.4%, 54.3%, 0%, 22.7%)
CIE-LABlab(43.10, 29.08, -56.85)
CIE-LCHlch(43.10, 63.85, 297.09°)
OKLaboklab(52.1% 0.0191 -0.1628)
OKLCHoklch(52.1% 0.164 276.7)
XYZxyz(17.3871, 13.2271, 54.4494)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AC5 #C5BF54
analogous
#5493C5 #545AC5 #8654C5
triadic
#545AC5 #C5545A #5AC554
tetradic
#545AC5 #C55493 #C5BF54 #54C586
square
#545AC5 #C55493 #C5BF54 #54C586
split-complementary
#545AC5 #C58654 #93C554
monochromatic
#282C76 #383DA4 #545AC5 #8286D5 #AFB2E4

Accessibility & contrast

On white

5.76
#545AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#545AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AC5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AC5#FFFFFF#000000##FFFFFF
##545AC51.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136BC9
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#0C7387
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545ac5;
/* rgb */ color: rgb(84, 90, 197);
/* oklch */ color: oklch(52.1% 0.164 276.7);
Tailwind
colors: {
  custom: {
    50: '#8e88d7',
    500: '#545ac5',
    950: '#000000',
  },
}
SCSS
$custom: #545ac5;
$custom-light: #8e88d7;
$custom-dark: #000000;
JSON
{
  "hex": "#545ac5",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 197
  },
  "hsl": {
    "h": 236.814,
    "s": 49.345,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52098,
    "c": 0.16396,
    "h": 276.7
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

primary
#545AC5
secondary
#D2D0A3
accent
#D24FD9
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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