#545A99#545A99

#545A99 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 49.2% C 0.100 H 277.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#545A99
RGBrgb(84, 90, 153)
HSLhsl(235, 29%, 46%)
HSVhsv(235, 45%, 60%)
CMYKcmyk(45.1%, 41.2%, 0%, 40%)
CIE-LABlab(40.40, 14.89, -35.25)
CIE-LCHlch(40.40, 38.27, 292.90°)
OKLaboklab(49.19% 0.0138 -0.0995)
OKLCHoklch(49.19% 0.1 277.9)
XYZxyz(13.0604, 11.4964, 31.6617)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A99 #999354
analogous
#547D99 #545A99 #715499
triadic
#545A99 #99545A #5A9954
tetradic
#545A99 #99547D #999354 #549971
square
#545A99 #99547D #999354 #549971
split-complementary
#545A99 #997154 #7D9954
monochromatic
#292C4A #3E4371 #545A99 #767CB4 #9EA2CA

Accessibility & contrast

On white

6.36
#545A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#545A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545A99
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A99#FFFFFF#000000##FFFFFF
##545A991.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43629B
Deuteranopia (green-blind)
#3E5D98
Tritanopia (blue-blind)
#3D6772
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #545a99;
/* rgb */ color: rgb(84, 90, 153);
/* oklch */ color: oklch(49.2% 0.100 277.9);
Tailwind
colors: {
  custom: {
    50: '#8888b7',
    500: '#545a99',
    950: '#000000',
  },
}
SCSS
$custom: #545a99;
$custom-light: #8888b7;
$custom-dark: #000000;
JSON
{
  "hex": "#545a99",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 153
  },
  "hsl": {
    "h": 234.783,
    "s": 29.114,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49188,
    "c": 0.10043,
    "h": 277.9
  },
  "luminance": 0.11497
}

Semantic roles & 50–950 ramp

primary
#545A99
secondary
#B7B492
accent
#BD62C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #545A99

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

Preview Lab → · Contrast checker → · Palette generator →

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