#545BEB#545BEB

#545BEB is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.2% C 0.213 H 274.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#545BEB
RGBrgb(84, 91, 235)
HSLhsl(237, 79%, 63%)
HSVhsv(237, 64%, 92%)
CMYKcmyk(64.3%, 61.3%, 0%, 7.8%)
CIE-LABlab(46.13, 41.00, -73.63)
CIE-LCHlch(46.13, 84.27, 299.11°)
OKLaboklab(55.22% 0.018 -0.2122)
OKLCHoklch(55.22% 0.213 274.8)
XYZxyz(22.3877, 15.3632, 80.3668)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BEB #EBE454
analogous
#54A6EB #545BEB #9954EB
triadic
#545BEB #EB545B #5BEB54
tetradic
#545BEB #EB54A6 #EBE454 #54EB99
square
#545BEB #EB54A6 #EBE454 #54EB99
split-complementary
#545BEB #EB9954 #A6EB54
monochromatic
#151CB0 #1D26E5 #545BEB #8B90F1 #C2C4F8

Accessibility & contrast

On white

5.16
#545BEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#545BEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BEB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BEB#FFFFFF#000000##FFFFFF
##545BEB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0067E8
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #545beb;
/* rgb */ color: rgb(84, 91, 235);
/* oklch */ color: oklch(55.2% 0.213 274.8);
Tailwind
colors: {
  custom: {
    50: '#9489f2',
    500: '#545beb',
    950: '#000000',
  },
}
SCSS
$custom: #545beb;
$custom-light: #9489f2;
$custom-dark: #000000;
JSON
{
  "hex": "#545beb",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 237.219,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55216,
    "c": 0.21295,
    "h": 274.8
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

primary
#545BEB
secondary
#E9E6B2
accent
#D20ADB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #545BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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