#545EA3#545EA3

#545EA3 is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.6% C 0.110 H 275.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#545EA3
RGBrgb(84, 94, 163)
HSLhsl(232, 32%, 48%)
HSVhsv(232, 48%, 64%)
CMYKcmyk(48.5%, 42.3%, 0%, 36.1%)
CIE-LABlab(42.05, 15.51, -38.60)
CIE-LCHlch(42.05, 41.60, 291.88°)
OKLaboklab(50.63% 0.0106 -0.1092)
OKLCHoklch(50.63% 0.11 275.5)
XYZxyz(14.2677, 12.5338, 36.3107)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EA3 #A39954
analogous
#5485A3 #545EA3 #7154A3
triadic
#545EA3 #A3545E #5EA354
tetradic
#545EA3 #A35485 #A39954 #54A371
square
#545EA3 #A35485 #A39954 #54A371
split-complementary
#545EA3 #A37154 #85A354
monochromatic
#2A2F52 #3F477B #545EA3 #7A82BA #A2A8CF

Accessibility & contrast

On white

5.99
#545EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#545EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EA3
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EA3#FFFFFF#000000##FFFFFF
##545EA31.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4367A6
Deuteranopia (green-blind)
#3C60A1
Tritanopia (blue-blind)
#366C78
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545ea3;
/* rgb */ color: rgb(84, 94, 163);
/* oklch */ color: oklch(50.6% 0.110 275.5);
Tailwind
colors: {
  custom: {
    50: '#898bbe',
    500: '#545ea3',
    950: '#000000',
  },
}
SCSS
$custom: #545ea3;
$custom-light: #898bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#545ea3",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 232.405,
    "s": 31.984,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50626,
    "c": 0.10976,
    "h": 275.5
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#545EA3
secondary
#BDB896
accent
#BB60C8
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #545EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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