#546CD2#546CD2

#546CD2 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.5% C 0.159 H 270.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#546CD2
RGBrgb(84, 108, 210)
HSLhsl(229, 58%, 58%)
HSVhsv(229, 60%, 82%)
CMYKcmyk(60%, 48.6%, 0%, 17.6%)
CIE-LABlab(48.59, 22.18, -55.48)
CIE-LCHlch(48.59, 59.75, 291.79°)
OKLaboklab(56.5% 0.0018 -0.1586)
OKLCHoklch(56.5% 0.159 270.6)
XYZxyz(20.6477, 17.2614, 63.2040)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546CD2 #D2BA54
analogous
#54ABD2 #546CD2 #7B54D2
triadic
#546CD2 #D2546C #6CD254
tetradic
#546CD2 #D254AB #D2BA54 #54D27B
square
#546CD2 #D254AB #D2BA54 #54D27B
split-complementary
#546CD2 #D27B54 #ABD254
monochromatic
#243788 #314AB8 #546CD2 #8496DF #B5BFEB

Accessibility & contrast

On white

4.72
#546CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#546CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546CD2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546CD2#FFFFFF#000000##FFFFFF
##546CD21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3879D6
Deuteranopia (green-blind)
#206ED0
Tritanopia (blue-blind)
#008395
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #546cd2;
/* rgb */ color: rgb(84, 108, 210);
/* oklch */ color: oklch(56.5% 0.159 270.6);
Tailwind
colors: {
  custom: {
    50: '#8f95e0',
    500: '#546cd2',
    950: '#000000',
  },
}
SCSS
$custom: #546cd2;
$custom-light: #8f95e0;
$custom-dark: #000000;
JSON
{
  "hex": "#546cd2",
  "rgb": {
    "r": 84,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 228.571,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56502,
    "c": 0.15865,
    "h": 270.6
  },
  "luminance": 0.17263
}

Semantic roles & 50–950 ramp

primary
#546CD2
secondary
#DAD1A8
accent
#C446E2
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #546CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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