#545FA1#545FA1

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

Color values

HEX#545FA1
RGBrgb(84, 95, 161)
HSLhsl(231, 31%, 48%)
HSVhsv(231, 48%, 63%)
CMYKcmyk(47.8%, 41%, 0%, 36.9%)
CIE-LABlab(42.22, 14.24, -37.15)
CIE-LCHlch(42.22, 39.79, 290.97°)
OKLaboklab(50.72% 0.0089 -0.105)
OKLCHoklch(50.72% 0.105 274.9)
XYZxyz(14.1794, 12.6417, 35.4042)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FA1 #A19654
analogous
#5485A1 #545FA1 #6F54A1
triadic
#545FA1 #A1545F #5FA154
tetradic
#545FA1 #A15485 #A19654 #54A16F
square
#545FA1 #A15485 #A19654 #54A16F
split-complementary
#545FA1 #A16F54 #85A154
monochromatic
#2A3051 #3F4779 #545FA1 #7982B9 #A1A8CE

Accessibility & contrast

On white

5.95
#545FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#545FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FA1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FA1#FFFFFF#000000##FFFFFF
##545FA11.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4667A4
Deuteranopia (green-blind)
#3F61A0
Tritanopia (blue-blind)
#376D78
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545fa1;
/* rgb */ color: rgb(84, 95, 161);
/* oklch */ color: oklch(50.7% 0.105 274.9);
Tailwind
colors: {
  custom: {
    50: '#888cbd',
    500: '#545fa1',
    950: '#000000',
  },
}
SCSS
$custom: #545fa1;
$custom-light: #888cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#545fa1",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 161
  },
  "hsl": {
    "h": 231.429,
    "s": 31.429,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50718,
    "c": 0.10538,
    "h": 274.9
  },
  "luminance": 0.12642
}

Semantic roles & 50–950 ramp

primary
#545FA1
secondary
#BBB695
accent
#B960C8
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #545FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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