#545BE7#545BE7

#545BE7 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 54.9% C 0.208 H 275.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#545BE7
RGBrgb(84, 91, 231)
HSLhsl(237, 75%, 62%)
HSVhsv(237, 64%, 91%)
CMYKcmyk(63.6%, 60.6%, 0%, 9.4%)
CIE-LABlab(45.82, 39.68, -71.88)
CIE-LCHlch(45.82, 82.10, 298.90°)
OKLaboklab(54.89% 0.0182 -0.207)
OKLCHoklch(54.89% 0.208 275)
XYZxyz(21.8163, 15.1347, 77.3574)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BE7 #E7E054
analogous
#54A5E7 #545BE7 #9754E7
triadic
#545BE7 #E7545B #5BE754
tetradic
#545BE7 #E754A5 #E7E054 #54E797
square
#545BE7 #E754A5 #E7E054 #54E797
split-complementary
#545BE7 #E79754 #A5E754
monochromatic
#181FA9 #1F28DF #545BE7 #8A8EEF #BFC2F6

Accessibility & contrast

On white

5.21
#545BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#545BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BE7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BE7#FFFFFF#000000##FFFFFF
##545BE71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#0066E4
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #545be7;
/* rgb */ color: rgb(84, 91, 231);
/* oklch */ color: oklch(54.9% 0.208 275.0);
Tailwind
colors: {
  custom: {
    50: '#9389f0',
    500: '#545be7',
    950: '#000000',
  },
}
SCSS
$custom: #545be7;
$custom-light: #9389f0;
$custom-dark: #000000;
JSON
{
  "hex": "#545be7",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 237.143,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54891,
    "c": 0.20784,
    "h": 275
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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