#546DC7#546DC7

#546DC7 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.0% C 0.142 H 269.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#546DC7
RGBrgb(84, 109, 199)
HSLhsl(227, 51%, 55%)
HSVhsv(227, 58%, 78%)
CMYKcmyk(57.8%, 45.2%, 0%, 22%)
CIE-LABlab(48.19, 17.86, -49.82)
CIE-LCHlch(48.19, 52.93, 289.73°)
OKLaboklab(55.99% -0.0008 -0.142)
OKLCHoklch(55.99% 0.142 269.7)
XYZxyz(19.4302, 16.9441, 56.2684)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546DC7 #C7AE54
analogous
#54A6C7 #546DC7 #7554C7
triadic
#546DC7 #C7546D #6DC754
tetradic
#546DC7 #C754A6 #C7AE54 #54C775
square
#546DC7 #C754A6 #C7AE54 #54C775
split-complementary
#546DC7 #C77554 #A6C754
monochromatic
#283979 #374FA7 #546DC7 #8294D6 #B0BCE5

Accessibility & contrast

On white

4.78
#546DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#546DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546DC7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546DC7#FFFFFF#000000##FFFFFF
##546DC71.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4478CA
Deuteranopia (green-blind)
#346EC5
Tritanopia (blue-blind)
#008190
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #546dc7;
/* rgb */ color: rgb(84, 109, 199);
/* oklch */ color: oklch(56.0% 0.142 269.7);
Tailwind
colors: {
  custom: {
    50: '#8d96d8',
    500: '#546dc7',
    950: '#000000',
  },
}
SCSS
$custom: #546dc7;
$custom-light: #8d96d8;
$custom-dark: #000000;
JSON
{
  "hex": "#546dc7",
  "rgb": {
    "r": 84,
    "g": 109,
    "b": 199
  },
  "hsl": {
    "h": 226.957,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55985,
    "c": 0.14201,
    "h": 269.7
  },
  "luminance": 0.16946
}

Semantic roles & 50–950 ramp

primary
#546DC7
secondary
#D3C9A3
accent
#BC4EDA
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #546DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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