#545EF3#545EF3

#545EF3 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.4% C 0.220 H 274.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#545EF3
RGBrgb(84, 94, 243)
HSLhsl(236, 87%, 64%)
HSVhsv(236, 65%, 95%)
CMYKcmyk(65.4%, 61.3%, 0%, 4.7%)
CIE-LABlab(47.44, 41.83, -75.98)
CIE-LCHlch(47.44, 86.73, 298.84°)
OKLaboklab(56.38% 0.0153 -0.2191)
OKLCHoklch(56.38% 0.22 274)
XYZxyz(23.8312, 16.3592, 86.6784)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EF3 #F3E954
analogous
#54AEF3 #545EF3 #9954F3
triadic
#545EF3 #F3545E #5EF354
tetradic
#545EF3 #F354AE #F3E954 #54F399
square
#545EF3 #F354AE #F3E954 #54F399
split-complementary
#545EF3 #F39954 #AEF354
monochromatic
#0D19BF #1B28EF #545EF3 #8D94F7 #C6CAFB

Accessibility & contrast

On white

4.92
#545EF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#545EF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EF3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EF3#FFFFFF#000000##FFFFFF
##545EF31.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#0069F0
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #545ef3;
/* rgb */ color: rgb(84, 94, 243);
/* oklch */ color: oklch(56.4% 0.220 274.0);
Tailwind
colors: {
  custom: {
    50: '#958cf8',
    500: '#545ef3',
    950: '#000000',
  },
}
SCSS
$custom: #545ef3;
$custom-light: #958cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#545ef3",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 236.226,
    "s": 86.885,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56376,
    "c": 0.21959,
    "h": 274
  },
  "luminance": 0.16361
}

Semantic roles & 50–950 ramp

primary
#545EF3
secondary
#EDEAB6
accent
#D502E3
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #545EF3

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

Preview Lab → · Contrast checker → · Palette generator →

#545EF3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva