#545DF7#545DF7

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

Color values

HEX#545DF7
RGBrgb(84, 93, 247)
HSLhsl(237, 91%, 65%)
HSVhsv(237, 66%, 97%)
CMYKcmyk(66%, 62.3%, 0%, 3.1%)
CIE-LABlab(47.53, 43.74, -78.07)
CIE-LCHlch(47.53, 89.49, 299.26°)
OKLaboklab(56.54% 0.0158 -0.2252)
OKLCHoklch(56.54% 0.226 274)
XYZxyz(24.3534, 16.4267, 89.8649)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545DF7 #F7EE54
analogous
#54AFF7 #545DF7 #9C54F7
triadic
#545DF7 #F7545D #5DF754
tetradic
#545DF7 #F754AF #F7EE54 #54F79C
square
#545DF7 #F754AF #F7EE54 #54F79C
split-complementary
#545DF7 #F79C54 #AFF754
monochromatic
#0914C7 #1A26F4 #545DF7 #8E94FA #C9CCFC

Accessibility & contrast

On white

4.90
#545DF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#545DF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545DF7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545DF7#FFFFFF#000000##FFFFFF
##545DF71.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FC
Deuteranopia (green-blind)
#0069F4
Tritanopia (blue-blind)
#0084A1
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #545df7;
/* rgb */ color: rgb(84, 93, 247);
/* oklch */ color: oklch(56.5% 0.226 274.0);
Tailwind
colors: {
  custom: {
    50: '#968bfb',
    500: '#545df7',
    950: '#000000',
  },
}
SCSS
$custom: #545df7;
$custom-light: #968bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#545df7",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 236.687,
    "s": 91.061,
    "l": 64.902
  },
  "oklch": {
    "l": 0.56538,
    "c": 0.22577,
    "h": 274
  },
  "luminance": 0.16429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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