#545EA5#545EA5

#545EA5 is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.7% C 0.113 H 275.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#545EA5
RGBrgb(84, 94, 165)
HSLhsl(233, 33%, 49%)
HSVhsv(233, 49%, 65%)
CMYKcmyk(49.1%, 43%, 0%, 35.3%)
CIE-LABlab(42.16, 16.14, -39.61)
CIE-LCHlch(42.16, 42.77, 292.17°)
OKLaboklab(50.75% 0.011 -0.1122)
OKLCHoklch(50.75% 0.113 275.6)
XYZxyz(14.4483, 12.6060, 37.2619)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EA5 #A59B54
analogous
#5487A5 #545EA5 #7354A5
triadic
#545EA5 #A5545E #5EA554
tetradic
#545EA5 #A55487 #A59B54 #54A573
square
#545EA5 #A55487 #A59B54 #54A573
split-complementary
#545EA5 #A57354 #87A554
monochromatic
#2B3054 #3F477C #545EA5 #7B83BC #A3A9D0

Accessibility & contrast

On white

5.96
#545EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#545EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EA5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EA5#FFFFFF#000000##FFFFFF
##545EA51.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4267A8
Deuteranopia (green-blind)
#3B60A3
Tritanopia (blue-blind)
#356D79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545ea5;
/* rgb */ color: rgb(84, 94, 165);
/* oklch */ color: oklch(50.7% 0.113 275.6);
Tailwind
colors: {
  custom: {
    50: '#898bc0',
    500: '#545ea5',
    950: '#000000',
  },
}
SCSS
$custom: #545ea5;
$custom-light: #898bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#545ea5",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 232.593,
    "s": 32.53,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50748,
    "c": 0.11273,
    "h": 275.6
  },
  "luminance": 0.12607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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