#545AE3#545AE3

#545AE3 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.4% C 0.204 H 275.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#545AE3
RGBrgb(84, 90, 227)
HSLhsl(237, 72%, 61%)
HSVhsv(237, 63%, 89%)
CMYKcmyk(63%, 60.4%, 0%, 11%)
CIE-LABlab(45.28, 38.97, -70.50)
CIE-LCHlch(45.28, 80.55, 298.93°)
OKLaboklab(54.4% 0.0191 -0.203)
OKLCHoklch(54.4% 0.204 275.4)
XYZxyz(21.1729, 14.7414, 74.3878)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AE3 #E3DD54
analogous
#54A1E3 #545AE3 #9654E3
triadic
#545AE3 #E3545A #5AE354
tetradic
#545AE3 #E354A1 #E3DD54 #54E396
square
#545AE3 #E354A1 #E3DD54 #54E396
split-complementary
#545AE3 #E39654 #A1E354
monochromatic
#1B20A2 #232BD7 #545AE3 #898DEC #BDBFF4

Accessibility & contrast

On white

5.32
#545AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#545AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AE3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AE3#FFFFFF#000000##FFFFFF
##545AE31.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#0065E0
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545ae3;
/* rgb */ color: rgb(84, 90, 227);
/* oklch */ color: oklch(54.4% 0.204 275.4);
Tailwind
colors: {
  custom: {
    50: '#9389ed',
    500: '#545ae3',
    950: '#000000',
  },
}
SCSS
$custom: #545ae3;
$custom-light: #9389ed;
$custom-dark: #000000;
JSON
{
  "hex": "#545ae3",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 237.483,
    "s": 71.859,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54398,
    "c": 0.20389,
    "h": 275.4
  },
  "luminance": 0.14743
}

Semantic roles & 50–950 ramp

primary
#545AE3
secondary
#E4E2AE
accent
#CC12D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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