#546EC2#546EC2

#546EC2 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.9% C 0.134 H 268.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#546EC2
RGBrgb(84, 110, 194)
HSLhsl(226, 47%, 55%)
HSVhsv(226, 57%, 76%)
CMYKcmyk(56.7%, 43.3%, 0%, 23.9%)
CIE-LABlab(48.17, 15.58, -46.98)
CIE-LCHlch(48.17, 49.49, 288.34°)
OKLaboklab(55.88% -0.0027 -0.1336)
OKLCHoklch(55.88% 0.134 268.8)
XYZxyz(18.9664, 16.9303, 53.2969)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546EC2 #C2A854
analogous
#54A5C2 #546EC2 #7154C2
triadic
#546EC2 #C2546E #6EC254
tetradic
#546EC2 #C254A5 #C2A854 #54C271
square
#546EC2 #C254A5 #C2A854 #54C271
split-complementary
#546EC2 #C27154 #A5C254
monochromatic
#293A73 #3951A0 #546EC2 #8194D2 #AEBBE2

Accessibility & contrast

On white

4.79
#546EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #546EC2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546EC2#FFFFFF#000000##FFFFFF
##546EC21.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4978C5
Deuteranopia (green-blind)
#3B6EC0
Tritanopia (blue-blind)
#0A818E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #546ec2;
/* rgb */ color: rgb(84, 110, 194);
/* oklch */ color: oklch(55.9% 0.134 268.8);
Tailwind
colors: {
  custom: {
    50: '#8c97d5',
    500: '#546ec2',
    950: '#000000',
  },
}
SCSS
$custom: #546ec2;
$custom-light: #8c97d5;
$custom-dark: #000000;
JSON
{
  "hex": "#546ec2",
  "rgb": {
    "r": 84,
    "g": 110,
    "b": 194
  },
  "hsl": {
    "h": 225.818,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55878,
    "c": 0.13367,
    "h": 268.8
  },
  "luminance": 0.16932
}

Semantic roles & 50–950 ramp

primary
#546EC2
secondary
#D0C5A2
accent
#B751D7
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #546EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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