#545BF2#545BF2

#545BF2 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.8% C 0.222 H 274.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#545BF2
RGBrgb(84, 91, 242)
HSLhsl(237, 86%, 64%)
HSVhsv(237, 65%, 95%)
CMYKcmyk(65.3%, 62.4%, 0%, 5.1%)
CIE-LABlab(46.68, 43.29, -76.66)
CIE-LCHlch(46.68, 88.04, 299.45°)
OKLaboklab(55.79% 0.0176 -0.2211)
OKLCHoklch(55.79% 0.222 274.6)
XYZxyz(23.4190, 15.7757, 85.7980)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BF2 #F2EB54
analogous
#54AAF2 #545BF2 #9C54F2
triadic
#545BF2 #F2545B #5BF254
tetradic
#545BF2 #F254AA #F2EB54 #54F29C
square
#545BF2 #F254AA #F2EB54 #54F29C
split-complementary
#545BF2 #F29C54 #AAF254
monochromatic
#0E16BD #1B24EE #545BF2 #8D92F6 #C6C8FB

Accessibility & contrast

On white

5.05
#545BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#545BF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BF2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BF2#FFFFFF#000000##FFFFFF
##545BF21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#0068EF
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #545bf2;
/* rgb */ color: rgb(84, 91, 242);
/* oklch */ color: oklch(55.8% 0.222 274.6);
Tailwind
colors: {
  custom: {
    50: '#9589f7',
    500: '#545bf2',
    950: '#000000',
  },
}
SCSS
$custom: #545bf2;
$custom-light: #9589f7;
$custom-dark: #000000;
JSON
{
  "hex": "#545bf2",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 237.342,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55791,
    "c": 0.22179,
    "h": 274.6
  },
  "luminance": 0.15778
}

Semantic roles & 50–950 ramp

primary
#545BF2
secondary
#EDEAB5
accent
#D803E2
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #545BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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