#545EA9#545EA9

#545EA9 is a mid, moderate blue. Relative luminance 0.128; OKLCH L 51.0% C 0.119 H 275.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#545EA9
RGBrgb(84, 94, 169)
HSLhsl(233, 34%, 50%)
HSVhsv(233, 50%, 66%)
CMYKcmyk(50.3%, 44.4%, 0%, 33.7%)
CIE-LABlab(42.39, 17.42, -41.62)
CIE-LCHlch(42.39, 45.12, 292.72°)
OKLaboklab(50.99% 0.0117 -0.1181)
OKLCHoklch(50.99% 0.119 275.6)
XYZxyz(14.8180, 12.7539, 39.2094)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EA9 #A99F54
analogous
#5489A9 #545EA9 #7554A9
triadic
#545EA9 #A9545E #5EA954
tetradic
#545EA9 #A95489 #A99F54 #54A975
square
#545EA9 #A95489 #A99F54 #54A975
split-complementary
#545EA9 #A97554 #89A954
monochromatic
#2B3157 #404780 #545EA9 #7C84BE #A5AAD2

Accessibility & contrast

On white

5.91
#545EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#545EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EA9
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EA9#FFFFFF#000000##FFFFFF
##545EA91.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AC
Deuteranopia (green-blind)
#3761A7
Tritanopia (blue-blind)
#326E7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545ea9;
/* rgb */ color: rgb(84, 94, 169);
/* oklch */ color: oklch(51.0% 0.119 275.6);
Tailwind
colors: {
  custom: {
    50: '#898bc3',
    500: '#545ea9',
    950: '#000000',
  },
}
SCSS
$custom: #545ea9;
$custom-light: #898bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#545ea9",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 232.941,
    "s": 33.597,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50994,
    "c": 0.11864,
    "h": 275.6
  },
  "luminance": 0.12755
}

Semantic roles & 50–950 ramp

primary
#545EA9
secondary
#C0BB99
accent
#BD5ECA
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #545EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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