#545FAA#545FAA

#545FAA is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.3% C 0.119 H 275.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#545FAA
RGBrgb(84, 95, 170)
HSLhsl(232, 34%, 50%)
HSVhsv(232, 51%, 67%)
CMYKcmyk(50.6%, 44.1%, 0%, 33.3%)
CIE-LABlab(42.72, 17.11, -41.68)
CIE-LCHlch(42.72, 45.06, 292.32°)
OKLaboklab(51.26% 0.0106 -0.1183)
OKLCHoklch(51.26% 0.119 275.1)
XYZxyz(15.0018, 12.9706, 39.7355)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FAA #AA9F54
analogous
#548AAA #545FAA #7454AA
triadic
#545FAA #AA545F #5FAA54
tetradic
#545FAA #AA548A #AA9F54 #54AA74
square
#545FAA #AA548A #AA9F54 #54AA74
split-complementary
#545FAA #AA7454 #8AAA54
monochromatic
#2C3158 #404881 #545FAA #7D85BF #A6ABD3

Accessibility & contrast

On white

5.84
#545FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#545FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FAA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FAA#FFFFFF#000000##FFFFFF
##545FAA1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4069AD
Deuteranopia (green-blind)
#3862A8
Tritanopia (blue-blind)
#316F7C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545faa;
/* rgb */ color: rgb(84, 95, 170);
/* oklch */ color: oklch(51.3% 0.119 275.1);
Tailwind
colors: {
  custom: {
    50: '#8a8cc4',
    500: '#545faa',
    950: '#000000',
  },
}
SCSS
$custom: #545faa;
$custom-light: #8a8cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#545faa",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 170
  },
  "hsl": {
    "h": 232.326,
    "s": 33.858,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51264,
    "c": 0.11873,
    "h": 275.1
  },
  "luminance": 0.12972
}

Semantic roles & 50–950 ramp

primary
#545FAA
secondary
#C0BB99
accent
#BC5ECA
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #545FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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