#545EA7#545EA7

#545EA7 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 50.9% C 0.116 H 275.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#545EA7
RGBrgb(84, 94, 167)
HSLhsl(233, 33%, 49%)
HSVhsv(233, 50%, 65%)
CMYKcmyk(49.7%, 43.7%, 0%, 34.5%)
CIE-LABlab(42.28, 16.78, -40.62)
CIE-LCHlch(42.28, 43.95, 292.45°)
OKLaboklab(50.87% 0.0113 -0.1151)
OKLCHoklch(50.87% 0.116 275.6)
XYZxyz(14.6317, 12.6794, 38.2281)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EA7 #A79D54
analogous
#5488A7 #545EA7 #7454A7
triadic
#545EA7 #A7545E #5EA754
tetradic
#545EA7 #A75488 #A79D54 #54A774
square
#545EA7 #A75488 #A79D54 #54A774
split-complementary
#545EA7 #A77454 #88A754
monochromatic
#2B3056 #40477E #545EA7 #7B83BD #A4AAD1

Accessibility & contrast

On white

5.94
#545EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#545EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EA7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EA7#FFFFFF#000000##FFFFFF
##545EA71.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4167AA
Deuteranopia (green-blind)
#3961A5
Tritanopia (blue-blind)
#336D7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545ea7;
/* rgb */ color: rgb(84, 94, 167);
/* oklch */ color: oklch(50.9% 0.116 275.6);
Tailwind
colors: {
  custom: {
    50: '#898bc1',
    500: '#545ea7',
    950: '#000000',
  },
}
SCSS
$custom: #545ea7;
$custom-light: #898bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#545ea7",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 232.771,
    "s": 33.068,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5087,
    "c": 0.1157,
    "h": 275.6
  },
  "luminance": 0.1268
}

Semantic roles & 50–950 ramp

primary
#545EA7
secondary
#BFBA98
accent
#BC5FC9
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #545EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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