#546BD7#546BD7

#546BD7 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.6% C 0.167 H 271.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#546BD7
RGBrgb(84, 107, 215)
HSLhsl(229, 62%, 59%)
HSVhsv(229, 61%, 84%)
CMYKcmyk(60.9%, 50.2%, 0%, 15.7%)
CIE-LABlab(48.64, 24.48, -58.24)
CIE-LCHlch(48.64, 63.17, 292.80°)
OKLaboklab(56.65% 0.0033 -0.1668)
OKLCHoklch(56.65% 0.167 271.1)
XYZxyz(21.1755, 17.3047, 66.5011)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546BD7 #D7C054
analogous
#54ACD7 #546BD7 #7E54D7
triadic
#546BD7 #D7546B #6BD754
tetradic
#546BD7 #D754AC #D7C054 #54D77E
square
#546BD7 #D754AC #D7C054 #54D77E
split-complementary
#546BD7 #D77E54 #ACD754
monochromatic
#21358F #2D47C1 #546BD7 #8696E3 #B7C1EE

Accessibility & contrast

On white

4.71
#546BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#546BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546BD7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546BD7#FFFFFF#000000##FFFFFF
##546BD71.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#307ADB
Deuteranopia (green-blind)
#0D6ED5
Tritanopia (blue-blind)
#008497
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #546bd7;
/* rgb */ color: rgb(84, 107, 215);
/* oklch */ color: oklch(56.6% 0.167 271.1);
Tailwind
colors: {
  custom: {
    50: '#9095e4',
    500: '#546bd7',
    950: '#000000',
  },
}
SCSS
$custom: #546bd7;
$custom-light: #9095e4;
$custom-dark: #000000;
JSON
{
  "hex": "#546bd7",
  "rgb": {
    "r": 84,
    "g": 107,
    "b": 215
  },
  "hsl": {
    "h": 229.466,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56645,
    "c": 0.1668,
    "h": 271.1
  },
  "luminance": 0.17307
}

Semantic roles & 50–950 ramp

primary
#546BD7
secondary
#DDD4A9
accent
#C943E5
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #546BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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