#545AC0#545AC0

#545AC0 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.157 H 276.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#545AC0
RGBrgb(84, 90, 192)
HSLhsl(237, 46%, 54%)
HSVhsv(237, 56%, 75%)
CMYKcmyk(56.3%, 53.1%, 0%, 24.7%)
CIE-LABlab(42.77, 27.43, -54.49)
CIE-LCHlch(42.77, 61.01, 296.72°)
OKLaboklab(51.74% 0.0188 -0.1559)
OKLCHoklch(51.74% 0.157 276.9)
XYZxyz(16.8237, 13.0018, 51.4820)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AC0 #C0BA54
analogous
#5490C0 #545AC0 #8454C0
triadic
#545AC0 #C0545A #5AC054
tetradic
#545AC0 #C05490 #C0BA54 #54C084
square
#545AC0 #C05490 #C0BA54 #54C084
split-complementary
#545AC0 #C08454 #90C054
monochromatic
#292D70 #3A3F9D #545AC0 #8185D0 #ADB0E1

Accessibility & contrast

On white

5.83
#545AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#545AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AC0
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AC0#FFFFFF#000000##FFFFFF
##545AC01.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6AC4
Deuteranopia (green-blind)
#0161BE
Tritanopia (blue-blind)
#187184
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545ac0;
/* rgb */ color: rgb(84, 90, 192);
/* oklch */ color: oklch(51.7% 0.157 276.9);
Tailwind
colors: {
  custom: {
    50: '#8d88d4',
    500: '#545ac0',
    950: '#000000',
  },
}
SCSS
$custom: #545ac0;
$custom-light: #8d88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#545ac0",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 236.667,
    "s": 46.154,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51738,
    "c": 0.15705,
    "h": 276.9
  },
  "luminance": 0.13003
}

Semantic roles & 50–950 ramp

primary
#545AC0
secondary
#CFCCA1
accent
#CE52D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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