#546FA2#546FA2

#546FA2 is a mid, moderate blue. Relative luminance 0.159; OKLCH L 54.3% C 0.086 H 262.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#546FA2
RGBrgb(84, 111, 162)
HSLhsl(219, 32%, 48%)
HSVhsv(219, 48%, 64%)
CMYKcmyk(48.1%, 31.5%, 0%, 36.5%)
CIE-LABlab(46.79, 4.61, -30.55)
CIE-LCHlch(46.79, 30.89, 278.59°)
OKLaboklab(54.27% -0.0113 -0.0857)
OKLCHoklch(54.27% 0.086 262.5)
XYZxyz(15.8600, 15.8613, 36.4012)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546FA2 #A28754
analogous
#5496A2 #546FA2 #6054A2
triadic
#546FA2 #A2546F #6FA254
tetradic
#546FA2 #A25496 #A28754 #54A260
square
#546FA2 #A25496 #A28754 #54A260
split-complementary
#546FA2 #A26054 #96A254
monochromatic
#2A3851 #3F537A #546FA2 #7990BA #A2B1CF

Accessibility & contrast

On white

5.03
#546FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#546FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546FA2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546FA2#FFFFFF#000000##FFFFFF
##546FA21.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A4
Deuteranopia (green-blind)
#536CA1
Tritanopia (blue-blind)
#347A81
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #546fa2;
/* rgb */ color: rgb(84, 111, 162);
/* oklch */ color: oklch(54.3% 0.086 262.5);
Tailwind
colors: {
  custom: {
    50: '#8898bd',
    500: '#546fa2',
    950: '#000000',
  },
}
SCSS
$custom: #546fa2;
$custom-light: #8898bd;
$custom-dark: #000000;
JSON
{
  "hex": "#546fa2",
  "rgb": {
    "r": 84,
    "g": 111,
    "b": 162
  },
  "hsl": {
    "h": 219.231,
    "s": 31.707,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5427,
    "c": 0.08644,
    "h": 262.5
  },
  "luminance": 0.15862
}

Semantic roles & 50–950 ramp

primary
#546FA2
secondary
#BCAF96
accent
#A460C8
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #546FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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