#545FAB#545FAB

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

Color values

HEX#545FAB
RGBrgb(84, 95, 171)
HSLhsl(232, 34%, 50%)
HSVhsv(232, 51%, 67%)
CMYKcmyk(50.9%, 44.4%, 0%, 32.9%)
CIE-LABlab(42.78, 17.44, -42.18)
CIE-LCHlch(42.78, 45.64, 292.46°)
OKLaboklab(51.33% 0.0108 -0.1197)
OKLCHoklch(51.33% 0.12 275.1)
XYZxyz(15.0967, 13.0086, 40.2356)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FAB #ABA054
analogous
#548AAB #545FAB #7554AB
triadic
#545FAB #AB545F #5FAB54
tetradic
#545FAB #AB548A #ABA054 #54AB75
square
#545FAB #AB548A #ABA054 #54AB75
split-complementary
#545FAB #AB7554 #8AAB54
monochromatic
#2C3159 #404882 #545FAB #7D85BF #A6ACD3

Accessibility & contrast

On white

5.83
#545FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#545FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FAB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FAB#FFFFFF#000000##FFFFFF
##545FAB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4069AE
Deuteranopia (green-blind)
#3762A9
Tritanopia (blue-blind)
#306F7C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545fab;
/* rgb */ color: rgb(84, 95, 171);
/* oklch */ color: oklch(51.3% 0.120 275.1);
Tailwind
colors: {
  custom: {
    50: '#8a8cc4',
    500: '#545fab',
    950: '#000000',
  },
}
SCSS
$custom: #545fab;
$custom-light: #8a8cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#545fab",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 171
  },
  "hsl": {
    "h": 232.414,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.51326,
    "c": 0.1202,
    "h": 275.1
  },
  "luminance": 0.1301
}

Semantic roles & 50–950 ramp

primary
#545FAB
secondary
#C1BC9A
accent
#BC5ECA
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #545FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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