#546FE4#546FE4

#546FE4 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.3% C 0.179 H 270.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#546FE4
RGBrgb(84, 111, 228)
HSLhsl(229, 73%, 61%)
HSVhsv(229, 63%, 89%)
CMYKcmyk(63.2%, 51.3%, 0%, 10.6%)
CIE-LABlab(50.51, 26.40, -62.57)
CIE-LCHlch(50.51, 67.91, 292.88°)
OKLaboklab(58.33% 0.0006 -0.1795)
OKLCHoklch(58.33% 0.179 270.2)
XYZxyz(23.3395, 18.8531, 75.7928)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546FE4 #E4C954
analogous
#54B7E4 #546FE4 #8154E4
triadic
#546FE4 #E4546F #6FE454
tetradic
#546FE4 #E454B7 #E4C954 #54E481
square
#546FE4 #E454B7 #E4C954 #54E481
split-complementary
#546FE4 #E48154 #B7E454
monochromatic
#1A34A4 #2244D9 #546FE4 #899CEC #BEC8F5

Accessibility & contrast

On white

4.40
#546FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#546FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #546FE4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546FE4#FFFFFF#000000##000000
##546FE41.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#297FE8
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#008A9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #546fe4;
/* rgb */ color: rgb(84, 111, 228);
/* oklch */ color: oklch(58.3% 0.179 270.2);
Tailwind
colors: {
  custom: {
    50: '#9298ed',
    500: '#546fe4',
    950: '#000000',
  },
}
SCSS
$custom: #546fe4;
$custom-light: #9298ed;
$custom-dark: #000000;
JSON
{
  "hex": "#546fe4",
  "rgb": {
    "r": 84,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 228.75,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58329,
    "c": 0.17946,
    "h": 270.2
  },
  "luminance": 0.18855
}

Semantic roles & 50–950 ramp

primary
#546FE4
secondary
#E5DBAF
accent
#B011D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #546FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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