#545AE7#545AE7

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

Color values

HEX#545AE7
RGBrgb(84, 90, 231)
HSLhsl(238, 75%, 62%)
HSVhsv(238, 64%, 91%)
CMYKcmyk(63.6%, 61%, 0%, 9.4%)
CIE-LABlab(45.59, 40.28, -72.26)
CIE-LCHlch(45.59, 82.73, 299.14°)
OKLaboklab(54.72% 0.019 -0.2082)
OKLCHoklch(54.72% 0.209 275.2)
XYZxyz(21.7314, 14.9648, 77.3291)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545AE7 #E7E154
analogous
#54A4E7 #545AE7 #9854E7
triadic
#545AE7 #E7545A #5AE754
tetradic
#545AE7 #E754A4 #E7E154 #54E798
square
#545AE7 #E754A4 #E7E154 #54E798
split-complementary
#545AE7 #E79854 #A4E754
monochromatic
#181EA9 #1F27DF #545AE7 #8A8EEF #BFC2F6

Accessibility & contrast

On white

5.26
#545AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#545AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545AE7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545AE7#FFFFFF#000000##FFFFFF
##545AE71.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#007D98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #545ae7;
/* rgb */ color: rgb(84, 90, 231);
/* oklch */ color: oklch(54.7% 0.209 275.2);
Tailwind
colors: {
  custom: {
    50: '#9389f0',
    500: '#545ae7',
    950: '#000000',
  },
}
SCSS
$custom: #545ae7;
$custom-light: #9389f0;
$custom-dark: #000000;
JSON
{
  "hex": "#545ae7",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 237.551,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5472,
    "c": 0.20903,
    "h": 275.2
  },
  "luminance": 0.14967
}

Semantic roles & 50–950 ramp

primary
#545AE7
secondary
#E7E4B0
accent
#CF0ED8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #545AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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