#545FA6#545FA6

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

Color values

HEX#545FA6
RGBrgb(84, 95, 166)
HSLhsl(232, 33%, 49%)
HSVhsv(232, 49%, 65%)
CMYKcmyk(49.4%, 42.8%, 0%, 34.9%)
CIE-LABlab(42.49, 15.83, -39.68)
CIE-LCHlch(42.49, 42.72, 291.75°)
OKLaboklab(51.02% 0.0099 -0.1124)
OKLCHoklch(51.02% 0.113 275)
XYZxyz(14.6291, 12.8216, 37.7730)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FA6 #A69B54
analogous
#5488A6 #545FA6 #7254A6
triadic
#545FA6 #A6545F #5FA654
tetradic
#545FA6 #A65488 #A69B54 #54A672
square
#545FA6 #A65488 #A69B54 #54A672
split-complementary
#545FA6 #A67254 #88A654
monochromatic
#2B3055 #3F487D #545FA6 #7B84BC #A4AAD1

Accessibility & contrast

On white

5.89
#545FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #545FA6
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FA6#FFFFFF#000000##FFFFFF
##545FA61.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4368A9
Deuteranopia (green-blind)
#3B61A4
Tritanopia (blue-blind)
#346E7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545fa6;
/* rgb */ color: rgb(84, 95, 166);
/* oklch */ color: oklch(51.0% 0.113 275.0);
Tailwind
colors: {
  custom: {
    50: '#898cc1',
    500: '#545fa6',
    950: '#000000',
  },
}
SCSS
$custom: #545fa6;
$custom-light: #898cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#545fa6",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 166
  },
  "hsl": {
    "h": 231.951,
    "s": 32.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51018,
    "c": 0.11283,
    "h": 275
  },
  "luminance": 0.12822
}

Semantic roles & 50–950 ramp

primary
#545FA6
secondary
#BEB998
accent
#BB5FC9
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #545FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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