#546BC7#546BC7

#546BC7 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.6% C 0.145 H 270.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#546BC7
RGBrgb(84, 107, 199)
HSLhsl(228, 51%, 55%)
HSVhsv(228, 58%, 78%)
CMYKcmyk(57.8%, 46.2%, 0%, 22%)
CIE-LABlab(47.65, 19.11, -50.68)
CIE-LCHlch(47.65, 54.17, 290.66°)
OKLaboklab(55.58% 0.0014 -0.1446)
OKLCHoklch(55.58% 0.145 270.5)
XYZxyz(19.2192, 16.5222, 56.1981)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546BC7 #C7B054
analogous
#54A4C7 #546BC7 #7654C7
triadic
#546BC7 #C7546B #6BC754
tetradic
#546BC7 #C754A4 #C7B054 #54C776
square
#546BC7 #C754A4 #C7B054 #54C776
split-complementary
#546BC7 #C77654 #A4C754
monochromatic
#283879 #374DA7 #546BC7 #8293D6 #B0BBE5

Accessibility & contrast

On white

4.88
#546BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#546BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546BC7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546BC7#FFFFFF#000000##FFFFFF
##546BC71.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4076CA
Deuteranopia (green-blind)
#2F6CC5
Tritanopia (blue-blind)
#00808F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #546bc7;
/* rgb */ color: rgb(84, 107, 199);
/* oklch */ color: oklch(55.6% 0.145 270.5);
Tailwind
colors: {
  custom: {
    50: '#8d95d8',
    500: '#546bc7',
    950: '#000000',
  },
}
SCSS
$custom: #546bc7;
$custom-light: #8d95d8;
$custom-dark: #000000;
JSON
{
  "hex": "#546bc7",
  "rgb": {
    "r": 84,
    "g": 107,
    "b": 199
  },
  "hsl": {
    "h": 228,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55575,
    "c": 0.14457,
    "h": 270.5
  },
  "luminance": 0.16524
}

Semantic roles & 50–950 ramp

primary
#546BC7
secondary
#D3CAA3
accent
#BE4EDA
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #546BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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