#546CD4#546CD4

#546CD4 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.6% C 0.161 H 270.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#546CD4
RGBrgb(84, 108, 212)
HSLhsl(229, 60%, 58%)
HSVhsv(229, 60%, 83%)
CMYKcmyk(60.4%, 49.1%, 0%, 16.9%)
CIE-LABlab(48.71, 22.85, -56.42)
CIE-LCHlch(48.71, 60.87, 292.05°)
OKLaboklab(56.64% 0.002 -0.1614)
OKLCHoklch(56.64% 0.161 270.7)
XYZxyz(20.8984, 17.3617, 64.5244)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546CD4 #D4BC54
analogous
#54ACD4 #546CD4 #7C54D4
triadic
#546CD4 #D4546C #6CD454
tetradic
#546CD4 #D454AC #D4BC54 #54D47C
square
#546CD4 #D454AC #D4BC54 #54D47C
split-complementary
#546CD4 #D47C54 #ACD454
monochromatic
#23368B #2F4ABC #546CD4 #8596E0 #B6C0ED

Accessibility & contrast

On white

4.70
#546CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#546CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546CD4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546CD4#FFFFFF#000000##FFFFFF
##546CD41.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#367AD8
Deuteranopia (green-blind)
#1C6ED2
Tritanopia (blue-blind)
#008496
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #546cd4;
/* rgb */ color: rgb(84, 108, 212);
/* oklch */ color: oklch(56.6% 0.161 270.7);
Tailwind
colors: {
  custom: {
    50: '#8f95e2',
    500: '#546cd4',
    950: '#000000',
  },
}
SCSS
$custom: #546cd4;
$custom-light: #8f95e2;
$custom-dark: #000000;
JSON
{
  "hex": "#546cd4",
  "rgb": {
    "r": 84,
    "g": 108,
    "b": 212
  },
  "hsl": {
    "h": 228.75,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56637,
    "c": 0.16141,
    "h": 270.7
  },
  "luminance": 0.17363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #546CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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