#545FA4#545FA4

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

Color values

HEX#545FA4
RGBrgb(84, 95, 164)
HSLhsl(232, 32%, 49%)
HSVhsv(232, 49%, 64%)
CMYKcmyk(48.8%, 42.1%, 0%, 35.7%)
CIE-LABlab(42.38, 15.19, -38.67)
CIE-LCHlch(42.38, 41.55, 291.45°)
OKLaboklab(50.9% 0.0095 -0.1094)
OKLCHoklch(50.9% 0.11 275)
XYZxyz(14.4471, 12.7487, 36.8143)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FA4 #A49954
analogous
#5487A4 #545FA4 #7154A4
triadic
#545FA4 #A4545F #5FA454
tetradic
#545FA4 #A45487 #A49954 #54A471
square
#545FA4 #A45487 #A49954 #54A471
split-complementary
#545FA4 #A47154 #87A454
monochromatic
#2B3053 #3F487C #545FA4 #7A83BB #A3A9D0

Accessibility & contrast

On white

5.92
#545FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#545FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FA4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FA4#FFFFFF#000000##FFFFFF
##545FA41.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A7
Deuteranopia (green-blind)
#3D61A2
Tritanopia (blue-blind)
#356D79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545fa4;
/* rgb */ color: rgb(84, 95, 164);
/* oklch */ color: oklch(50.9% 0.110 275.0);
Tailwind
colors: {
  custom: {
    50: '#898cbf',
    500: '#545fa4',
    950: '#000000',
  },
}
SCSS
$custom: #545fa4;
$custom-light: #898cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#545fa4",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 231.75,
    "s": 32.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50897,
    "c": 0.10985,
    "h": 275
  },
  "luminance": 0.1275
}

Semantic roles & 50–950 ramp

primary
#545FA4
secondary
#BDB897
accent
#BA5FC8
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #545FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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