#545FA5#545FA5

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

Color values

HEX#545FA5
RGBrgb(84, 95, 165)
HSLhsl(232, 33%, 49%)
HSVhsv(232, 49%, 65%)
CMYKcmyk(49.1%, 42.4%, 0%, 35.3%)
CIE-LABlab(42.44, 15.51, -39.18)
CIE-LCHlch(42.44, 42.14, 291.60°)
OKLaboklab(50.96% 0.0097 -0.1109)
OKLCHoklch(50.96% 0.111 275)
XYZxyz(14.5378, 12.7850, 37.2917)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FA5 #A59A54
analogous
#5488A5 #545FA5 #7254A5
triadic
#545FA5 #A5545F #5FA554
tetradic
#545FA5 #A55488 #A59A54 #54A572
square
#545FA5 #A55488 #A59A54 #54A572
split-complementary
#545FA5 #A57254 #88A554
monochromatic
#2B3054 #3F487C #545FA5 #7B83BC #A3A9D0

Accessibility & contrast

On white

5.90
#545FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#545FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FA5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FA5#FFFFFF#000000##FFFFFF
##545FA51.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4368A8
Deuteranopia (green-blind)
#3C61A3
Tritanopia (blue-blind)
#356E7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545fa5;
/* rgb */ color: rgb(84, 95, 165);
/* oklch */ color: oklch(51.0% 0.111 275.0);
Tailwind
colors: {
  custom: {
    50: '#898cc0',
    500: '#545fa5',
    950: '#000000',
  },
}
SCSS
$custom: #545fa5;
$custom-light: #898cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#545fa5",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 165
  },
  "hsl": {
    "h": 231.852,
    "s": 32.53,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.11134,
    "h": 275
  },
  "luminance": 0.12786
}

Semantic roles & 50–950 ramp

primary
#545FA5
secondary
#BEB897
accent
#BA5FC9
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #545FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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