#546FEA#546FEA

#546FEA is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.8% C 0.187 H 270.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#546FEA
RGBrgb(84, 111, 234)
HSLhsl(229, 78%, 62%)
HSVhsv(229, 64%, 92%)
CMYKcmyk(64.1%, 52.6%, 0%, 8.2%)
CIE-LABlab(50.91, 28.44, -65.30)
CIE-LCHlch(50.91, 71.22, 293.53°)
OKLaboklab(58.76% 0.0011 -0.1875)
OKLCHoklch(58.76% 0.187 270.3)
XYZxyz(24.1869, 19.1920, 80.2558)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546FEA #EACF54
analogous
#54BAEA #546FEA #8454EA
triadic
#546FEA #EA546F #6FEA54
tetradic
#546FEA #EA54BA #EACF54 #54EA84
square
#546FEA #EA54BA #EACF54 #54EA84
split-complementary
#546FEA #EA8454 #BAEA54
monochromatic
#1531AE #1D41E3 #546FEA #8B9DF1 #C1CBF7

Accessibility & contrast

On white

4.34
#546FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#546FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #546FEA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546FEA#FFFFFF#000000##000000
##546FEA1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D80EE
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #546fea;
/* rgb */ color: rgb(84, 111, 234);
/* oklch */ color: oklch(58.8% 0.187 270.3);
Tailwind
colors: {
  custom: {
    50: '#9398f1',
    500: '#546fea',
    950: '#000000',
  },
}
SCSS
$custom: #546fea;
$custom-light: #9398f1;
$custom-dark: #000000;
JSON
{
  "hex": "#546fea",
  "rgb": {
    "r": 84,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 229.2,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58755,
    "c": 0.18749,
    "h": 270.3
  },
  "luminance": 0.19194
}

Semantic roles & 50–950 ramp

primary
#546FEA
secondary
#E8DEB2
accent
#B50BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #546FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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