#546BD4#546BD4

#546BD4 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.4% C 0.163 H 271.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#546BD4
RGBrgb(84, 107, 212)
HSLhsl(229, 60%, 58%)
HSVhsv(229, 60%, 83%)
CMYKcmyk(60.4%, 49.5%, 0%, 16.9%)
CIE-LABlab(48.45, 23.47, -56.84)
CIE-LCHlch(48.45, 61.49, 292.44°)
OKLaboklab(56.44% 0.003 -0.1626)
OKLCHoklch(56.44% 0.163 271)
XYZxyz(20.7936, 17.1520, 64.4895)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546BD4 #D4BD54
analogous
#54ABD4 #546BD4 #7D54D4
triadic
#546BD4 #D4546B #6BD454
tetradic
#546BD4 #D454AB #D4BD54 #54D47D
square
#546BD4 #D454AB #D4BD54 #54D47D
split-complementary
#546BD4 #D47D54 #ABD454
monochromatic
#23368B #2F48BC #546BD4 #8595E0 #B6C0ED

Accessibility & contrast

On white

4.74
#546BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#546BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546BD4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546BD4#FFFFFF#000000##FFFFFF
##546BD41.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3379D8
Deuteranopia (green-blind)
#186ED2
Tritanopia (blue-blind)
#008395
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #546bd4;
/* rgb */ color: rgb(84, 107, 212);
/* oklch */ color: oklch(56.4% 0.163 271.0);
Tailwind
colors: {
  custom: {
    50: '#8f95e2',
    500: '#546bd4',
    950: '#000000',
  },
}
SCSS
$custom: #546bd4;
$custom-light: #8f95e2;
$custom-dark: #000000;
JSON
{
  "hex": "#546bd4",
  "rgb": {
    "r": 84,
    "g": 107,
    "b": 212
  },
  "hsl": {
    "h": 229.219,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56439,
    "c": 0.16268,
    "h": 271
  },
  "luminance": 0.17154
}

Semantic roles & 50–950 ramp

primary
#546BD4
secondary
#DBD2A8
accent
#C745E3
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #546BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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