#545BAF#545BAF

#545BAF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.132 H 277.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#545BAF
RGBrgb(84, 91, 175)
HSLhsl(235, 36%, 51%)
HSVhsv(235, 52%, 69%)
CMYKcmyk(52%, 48%, 0%, 31.4%)
CIE-LABlab(41.94, 21.25, -45.87)
CIE-LCHlch(41.94, 50.56, 294.86°)
OKLaboklab(50.77% 0.0161 -0.1306)
OKLCHoklch(50.77% 0.132 277)
XYZxyz(15.1327, 12.4612, 42.1570)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BAF #AFA854
analogous
#5488AF #545BAF #7A54AF
triadic
#545BAF #AF545B #5BAF54
tetradic
#545BAF #AF5488 #AFA854 #54AF7A
square
#545BAF #AF5488 #AFA854 #54AF7A
split-complementary
#545BAF #AF7A54 #88AF54
monochromatic
#2C2F5D #3F4587 #545BAF #7E83C3 #A7ABD6

Accessibility & contrast

On white

6.01
#545BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#545BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BAF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BAF#FFFFFF#000000##FFFFFF
##545BAF1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#2C5FAD
Tritanopia (blue-blind)
#2D6D7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #545baf;
/* rgb */ color: rgb(84, 91, 175);
/* oklch */ color: oklch(50.8% 0.132 277.0);
Tailwind
colors: {
  custom: {
    50: '#8a89c7',
    500: '#545baf',
    950: '#000000',
  },
}
SCSS
$custom: #545baf;
$custom-light: #8a89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#545baf",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 235.385,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50767,
    "c": 0.13157,
    "h": 277
  },
  "luminance": 0.12462
}

Semantic roles & 50–950 ramp

primary
#545BAF
secondary
#C4C09B
accent
#C45CCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #545BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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