#545AE2#545AE2

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

Color values

HEX#545AE2
RGBrgb(84, 90, 226)
HSLhsl(237, 71%, 61%)
HSVhsv(237, 63%, 89%)
CMYKcmyk(62.8%, 60.2%, 0%, 11.4%)
CIE-LABlab(45.20, 38.64, -70.05)
CIE-LCHlch(45.20, 80.00, 298.88°)
OKLaboklab(54.32% 0.0192 -0.2017)
OKLCHoklch(54.32% 0.203 275.4)
XYZxyz(21.0353, 14.6864, 73.6630)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AE2 #E2DC54
analogous
#54A1E2 #545AE2 #9554E2
triadic
#545AE2 #E2545A #5AE254
tetradic
#545AE2 #E254A1 #E2DC54 #54E295
square
#545AE2 #E254A1 #E2DC54 #54E295
split-complementary
#545AE2 #E29554 #A1E254
monochromatic
#1B21A0 #242CD5 #545AE2 #888CEB #BDBFF4

Accessibility & contrast

On white

5.33
#545AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#545AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AE2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AE2#FFFFFF#000000##FFFFFF
##545AE21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545ae2;
/* rgb */ color: rgb(84, 90, 226);
/* oklch */ color: oklch(54.3% 0.203 275.4);
Tailwind
colors: {
  custom: {
    50: '#9389ec',
    500: '#545ae2',
    950: '#000000',
  },
}
SCSS
$custom: #545ae2;
$custom-light: #9389ec;
$custom-dark: #000000;
JSON
{
  "hex": "#545ae2",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 237.465,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54317,
    "c": 0.2026,
    "h": 275.4
  },
  "luminance": 0.14688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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