#545FA0#545FA0

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

Color values

HEX#545FA0
RGBrgb(84, 95, 160)
HSLhsl(231, 31%, 48%)
HSVhsv(231, 48%, 63%)
CMYKcmyk(47.5%, 40.6%, 0%, 37.3%)
CIE-LABlab(42.16, 13.93, -36.64)
CIE-LCHlch(42.16, 39.20, 290.81°)
OKLaboklab(50.66% 0.0087 -0.1035)
OKLCHoklch(50.66% 0.104 274.8)
XYZxyz(14.0916, 12.6065, 34.9417)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FA0 #A09554
analogous
#5485A0 #545FA0 #6F54A0
triadic
#545FA0 #A0545F #5FA054
tetradic
#545FA0 #A05485 #A09554 #54A06F
square
#545FA0 #A05485 #A09554 #54A06F
split-complementary
#545FA0 #A06F54 #85A054
monochromatic
#2A2F50 #3F4778 #545FA0 #7982B8 #A1A7CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545FA0#FFFFFF#000000##FFFFFF
##545FA01.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)
#4667A3
Deuteranopia (green-blind)
#40619F
Tritanopia (blue-blind)
#386D78
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545fa0;
/* rgb */ color: rgb(84, 95, 160);
/* oklch */ color: oklch(50.7% 0.104 274.8);
Tailwind
colors: {
  custom: {
    50: '#888cbc',
    500: '#545fa0',
    950: '#000000',
  },
}
SCSS
$custom: #545fa0;
$custom-light: #888cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#545fa0",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 160
  },
  "hsl": {
    "h": 231.316,
    "s": 31.148,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50659,
    "c": 0.10388,
    "h": 274.8
  },
  "luminance": 0.12607
}

Semantic roles & 50–950 ramp

primary
#545FA0
secondary
#BBB595
accent
#B860C7
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #545FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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