#546AE4#546AE4

#546AE4 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.4% C 0.186 H 271.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#546AE4
RGBrgb(84, 106, 228)
HSLhsl(231, 73%, 61%)
HSVhsv(231, 63%, 89%)
CMYKcmyk(63.2%, 53.5%, 0%, 10.6%)
CIE-LABlab(49.24, 29.49, -64.62)
CIE-LCHlch(49.24, 71.04, 294.53°)
OKLaboklab(57.37% 0.0052 -0.1856)
OKLCHoklch(57.37% 0.186 271.6)
XYZxyz(22.8091, 17.7923, 75.6160)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546AE4 #E4CE54
analogous
#54B2E4 #546AE4 #8654E4
triadic
#546AE4 #E4546A #6AE454
tetradic
#546AE4 #E454B2 #E4CE54 #54E486
square
#546AE4 #E454B2 #E4CE54 #54E486
split-complementary
#546AE4 #E48654 #B2E454
monochromatic
#1A2FA4 #223ED9 #546AE4 #8998EC #BEC6F5

Accessibility & contrast

On white

4.61
#546AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#546AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #546AE4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546AE4#FFFFFF#000000##FFFFFF
##546AE41.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#127CE8
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#00879D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #546ae4;
/* rgb */ color: rgb(84, 106, 228);
/* oklch */ color: oklch(57.4% 0.186 271.6);
Tailwind
colors: {
  custom: {
    50: '#9294ed',
    500: '#546ae4',
    950: '#000000',
  },
}
SCSS
$custom: #546ae4;
$custom-light: #9294ed;
$custom-dark: #000000;
JSON
{
  "hex": "#546ae4",
  "rgb": {
    "r": 84,
    "g": 106,
    "b": 228
  },
  "hsl": {
    "h": 230.833,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57371,
    "c": 0.18564,
    "h": 271.6
  },
  "luminance": 0.17794
}

Semantic roles & 50–950 ramp

primary
#546AE4
secondary
#E5DDAF
accent
#B711D5
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #546AE4

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

Preview Lab → · Contrast checker → · Palette generator →

#546AE4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva