#545AE8#545AE8

#545AE8 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.8% C 0.210 H 275.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#545AE8
RGBrgb(84, 90, 232)
HSLhsl(238, 76%, 62%)
HSVhsv(238, 64%, 91%)
CMYKcmyk(63.8%, 61.2%, 0%, 9%)
CIE-LABlab(45.66, 40.61, -72.69)
CIE-LCHlch(45.66, 83.27, 299.19°)
OKLaboklab(54.8% 0.0189 -0.2094)
OKLCHoklch(54.8% 0.21 275.2)
XYZxyz(21.8730, 15.0215, 78.0750)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AE8 #E8E254
analogous
#54A4E8 #545AE8 #9854E8
triadic
#545AE8 #E8545A #5AE854
tetradic
#545AE8 #E854A4 #E8E254 #54E898
square
#545AE8 #E854A4 #E8E254 #54E898
split-complementary
#545AE8 #E89854 #A4E854
monochromatic
#171DAB #1E26E1 #545AE8 #8A8EEF #C0C2F7

Accessibility & contrast

On white

5.24
#545AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#545AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AE8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AE8#FFFFFF#000000##FFFFFF
##545AE81.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #545ae8;
/* rgb */ color: rgb(84, 90, 232);
/* oklch */ color: oklch(54.8% 0.210 275.2);
Tailwind
colors: {
  custom: {
    50: '#9489f0',
    500: '#545ae8',
    950: '#000000',
  },
}
SCSS
$custom: #545ae8;
$custom-light: #9489f0;
$custom-dark: #000000;
JSON
{
  "hex": "#545ae8",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 237.568,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54802,
    "c": 0.2103,
    "h": 275.2
  },
  "luminance": 0.15023
}

Semantic roles & 50–950 ramp

primary
#545AE8
secondary
#E7E5B1
accent
#D00DD8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #545AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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