#546BC5#546BC5

#546BC5 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.4% C 0.142 H 270.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#546BC5
RGBrgb(84, 107, 197)
HSLhsl(228, 49%, 55%)
HSVhsv(228, 57%, 77%)
CMYKcmyk(57.4%, 45.7%, 0%, 22.7%)
CIE-LABlab(47.53, 18.44, -49.72)
CIE-LCHlch(47.53, 53.03, 290.35°)
OKLaboklab(55.45% 0.0011 -0.1417)
OKLCHoklch(55.45% 0.142 270.4)
XYZxyz(18.9886, 16.4300, 54.9832)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546BC5 #C5AE54
analogous
#54A3C5 #546BC5 #7654C5
triadic
#546BC5 #C5546B #6BC554
tetradic
#546BC5 #C554A3 #C5AE54 #54C576
square
#546BC5 #C554A3 #C5AE54 #54C576
split-complementary
#546BC5 #C57654 #A3C554
monochromatic
#283876 #384EA4 #546BC5 #8293D5 #AFBAE4

Accessibility & contrast

On white

4.90
#546BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#546BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546BC5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546BC5#FFFFFF#000000##FFFFFF
##546BC51.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4276C8
Deuteranopia (green-blind)
#326CC3
Tritanopia (blue-blind)
#017F8E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #546bc5;
/* rgb */ color: rgb(84, 107, 197);
/* oklch */ color: oklch(55.4% 0.142 270.4);
Tailwind
colors: {
  custom: {
    50: '#8d95d7',
    500: '#546bc5',
    950: '#000000',
  },
}
SCSS
$custom: #546bc5;
$custom-light: #8d95d7;
$custom-dark: #000000;
JSON
{
  "hex": "#546bc5",
  "rgb": {
    "r": 84,
    "g": 107,
    "b": 197
  },
  "hsl": {
    "h": 227.788,
    "s": 49.345,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55446,
    "c": 0.14174,
    "h": 270.4
  },
  "luminance": 0.16431
}

Semantic roles & 50–950 ramp

primary
#546BC5
secondary
#D2C8A3
accent
#BD4FD9
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #546BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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