#545BF5#545BF5

#545BF5 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.0% C 0.226 H 274.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#545BF5
RGBrgb(84, 91, 245)
HSLhsl(237, 89%, 65%)
HSVhsv(237, 66%, 96%)
CMYKcmyk(65.7%, 62.9%, 0%, 3.9%)
CIE-LABlab(46.92, 44.27, -77.95)
CIE-LCHlch(46.92, 89.64, 299.59°)
OKLaboklab(56.04% 0.0174 -0.2249)
OKLCHoklch(56.04% 0.226 274.4)
XYZxyz(23.8732, 15.9574, 88.1905)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BF5 #F5EE54
analogous
#54ACF5 #545BF5 #9D54F5
triadic
#545BF5 #F5545B #5BF554
tetradic
#545BF5 #F554AC #F5EE54 #54F59D
square
#545BF5 #F554AC #F5EE54 #54F59D
split-complementary
#545BF5 #F59D54 #ACF554
monochromatic
#0B13C3 #1A24F2 #545BF5 #8E92F8 #C8CAFC

Accessibility & contrast

On white

5.01
#545BF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#545BF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BF5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BF5#FFFFFF#000000##FFFFFF
##545BF51.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FA
Deuteranopia (green-blind)
#0068F2
Tritanopia (blue-blind)
#0083A0
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #545bf5;
/* rgb */ color: rgb(84, 91, 245);
/* oklch */ color: oklch(56.0% 0.226 274.4);
Tailwind
colors: {
  custom: {
    50: '#968afa',
    500: '#545bf5',
    950: '#000000',
  },
}
SCSS
$custom: #545bf5;
$custom-light: #968afa;
$custom-dark: #000000;
JSON
{
  "hex": "#545bf5",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 237.391,
    "s": 88.95,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56041,
    "c": 0.22554,
    "h": 274.4
  },
  "luminance": 0.1596
}

Semantic roles & 50–950 ramp

primary
#545BF5
secondary
#EEECB7
accent
#DC00E6
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #545BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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