#545EF7#545EF7

#545EF7 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.7% C 0.225 H 273.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#545EF7
RGBrgb(84, 94, 247)
HSLhsl(236, 91%, 65%)
HSVhsv(236, 66%, 97%)
CMYKcmyk(66%, 61.9%, 0%, 3.1%)
CIE-LABlab(47.76, 43.14, -77.70)
CIE-LCHlch(47.76, 88.87, 299.04°)
OKLaboklab(56.7% 0.0151 -0.2241)
OKLCHoklch(56.7% 0.225 273.9)
XYZxyz(24.4418, 16.6034, 89.8944)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EF7 #F7ED54
analogous
#54B0F7 #545EF7 #9C54F7
triadic
#545EF7 #F7545E #5EF754
tetradic
#545EF7 #F754B0 #F7ED54 #54F79C
square
#545EF7 #F754B0 #F7ED54 #54F79C
split-complementary
#545EF7 #F79C54 #B0F754
monochromatic
#0915C7 #1A27F4 #545EF7 #8E95FA #C9CCFC

Accessibility & contrast

On white

4.86
#545EF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#545EF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EF7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EF7#FFFFFF#000000##FFFFFF
##545EF71.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#006AF4
Tritanopia (blue-blind)
#0085A2
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #545ef7;
/* rgb */ color: rgb(84, 94, 247);
/* oklch */ color: oklch(56.7% 0.225 273.9);
Tailwind
colors: {
  custom: {
    50: '#968cfb',
    500: '#545ef7',
    950: '#000000',
  },
}
SCSS
$custom: #545ef7;
$custom-light: #968cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#545ef7",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 236.319,
    "s": 91.061,
    "l": 64.902
  },
  "oklch": {
    "l": 0.56704,
    "c": 0.22462,
    "h": 273.9
  },
  "luminance": 0.16606
}

Semantic roles & 50–950 ramp

primary
#545EF7
secondary
#EFECB8
accent
#D700E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #545EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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