#545BAA#545BAA

#545BAA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.124 H 277.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#545BAA
RGBrgb(84, 91, 170)
HSLhsl(235, 34%, 50%)
HSVhsv(235, 51%, 67%)
CMYKcmyk(50.6%, 46.5%, 0%, 33.3%)
CIE-LABlab(41.64, 19.64, -43.40)
CIE-LCHlch(41.64, 47.64, 294.35°)
OKLaboklab(50.44% 0.0155 -0.1233)
OKLCHoklch(50.44% 0.124 277.1)
XYZxyz(14.6507, 12.2684, 39.6185)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BAA #AAA354
analogous
#5486AA #545BAA #7854AA
triadic
#545BAA #AA545B #5BAA54
tetradic
#545BAA #AA5486 #AAA354 #54AA78
square
#545BAA #AA5486 #AAA354 #54AA78
split-complementary
#545BAA #AA7854 #86AA54
monochromatic
#2C2F58 #404581 #545BAA #7D82BF #A6A9D3

Accessibility & contrast

On white

6.08
#545BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#545BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BAA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BAA#FFFFFF#000000##FFFFFF
##545BAA1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3966AD
Deuteranopia (green-blind)
#315FA8
Tritanopia (blue-blind)
#326C7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #545baa;
/* rgb */ color: rgb(84, 91, 170);
/* oklch */ color: oklch(50.4% 0.124 277.1);
Tailwind
colors: {
  custom: {
    50: '#8a89c4',
    500: '#545baa',
    950: '#000000',
  },
}
SCSS
$custom: #545baa;
$custom-light: #8a89c4;
$custom-dark: #000000;
JSON
{
  "hex": "#545baa",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 170
  },
  "hsl": {
    "h": 235.116,
    "s": 33.858,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50442,
    "c": 0.1243,
    "h": 277.1
  },
  "luminance": 0.12269
}

Semantic roles & 50–950 ramp

primary
#545BAA
secondary
#C0BD99
accent
#C15ECA
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #545BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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