#545FA8#545FA8

#545FA8 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.1% C 0.116 H 275.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#545FA8
RGBrgb(84, 95, 168)
HSLhsl(232, 33%, 49%)
HSVhsv(232, 50%, 66%)
CMYKcmyk(50%, 43.5%, 0%, 34.1%)
CIE-LABlab(42.61, 16.47, -40.68)
CIE-LCHlch(42.61, 43.89, 292.04°)
OKLaboklab(51.14% 0.0103 -0.1153)
OKLCHoklch(51.14% 0.116 275.1)
XYZxyz(14.8140, 12.8955, 38.7467)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FA8 #A89D54
analogous
#5489A8 #545FA8 #7354A8
triadic
#545FA8 #A8545F #5FA854
tetradic
#545FA8 #A85489 #A89D54 #54A873
square
#545FA8 #A85489 #A89D54 #54A873
split-complementary
#545FA8 #A87354 #89A854
monochromatic
#2B3156 #40487F #545FA8 #7C84BD #A5ABD2

Accessibility & contrast

On white

5.87
#545FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#545FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FA8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FA8#FFFFFF#000000##FFFFFF
##545FA81.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4268AB
Deuteranopia (green-blind)
#3A61A6
Tritanopia (blue-blind)
#336E7B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545fa8;
/* rgb */ color: rgb(84, 95, 168);
/* oklch */ color: oklch(51.1% 0.116 275.1);
Tailwind
colors: {
  custom: {
    50: '#898cc2',
    500: '#545fa8',
    950: '#000000',
  },
}
SCSS
$custom: #545fa8;
$custom-light: #898cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#545fa8",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 232.143,
    "s": 33.333,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5114,
    "c": 0.11579,
    "h": 275.1
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

primary
#545FA8
secondary
#BFBA99
accent
#BB5EC9
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #545FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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