#546FEF#546FEF

#546FEF is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.1% C 0.194 H 270.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#546FEF
RGBrgb(84, 111, 239)
HSLhsl(230, 83%, 63%)
HSVhsv(230, 65%, 94%)
CMYKcmyk(64.9%, 53.6%, 0%, 6.3%)
CIE-LABlab(51.25, 30.13, -67.55)
CIE-LCHlch(51.25, 73.97, 294.04°)
OKLaboklab(59.11% 0.0014 -0.1941)
OKLCHoklch(59.11% 0.194 270.4)
XYZxyz(24.9153, 19.4834, 84.0923)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546FEF #EFD454
analogous
#54BDEF #546FEF #8654EF
triadic
#546FEF #EF546F #6FEF54
tetradic
#546FEF #EF54BD #EFD454 #54EF86
square
#546FEF #EF54BD #EFD454 #54EF86
split-complementary
#546FEF #EF8654 #BDEF54
monochromatic
#112EB7 #1C40EA #546FEF #8C9EF4 #C4CDF9

Accessibility & contrast

On white

4.29
#546FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#546FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #546FEF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546FEF#FFFFFF#000000##000000
##546FEF1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D81F3
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#008DA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #546fef;
/* rgb */ color: rgb(84, 111, 239);
/* oklch */ color: oklch(59.1% 0.194 270.4);
Tailwind
colors: {
  custom: {
    50: '#9498f5',
    500: '#546fef',
    950: '#000000',
  },
}
SCSS
$custom: #546fef;
$custom-light: #9498f5;
$custom-dark: #000000;
JSON
{
  "hex": "#546fef",
  "rgb": {
    "r": 84,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 229.548,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59115,
    "c": 0.19413,
    "h": 270.4
  },
  "luminance": 0.19486
}

Semantic roles & 50–950 ramp

primary
#546FEF
secondary
#EBE1B4
accent
#B906DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #546FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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