#545BB7#545BB7

#545BB7 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.143 H 276.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#545BB7
RGBrgb(84, 91, 183)
HSLhsl(236, 41%, 52%)
HSVhsv(236, 54%, 72%)
CMYKcmyk(54.1%, 50.3%, 0%, 28.2%)
CIE-LABlab(42.44, 23.86, -49.77)
CIE-LCHlch(42.44, 55.19, 295.61°)
OKLaboklab(51.3% 0.017 -0.142)
OKLCHoklch(51.3% 0.143 276.8)
XYZxyz(15.9418, 12.7848, 46.4182)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BB7 #B7B054
analogous
#548CB7 #545BB7 #7F54B7
triadic
#545BB7 #B7545B #5BB754
tetradic
#545BB7 #B7548C #B7B054 #54B77F
square
#545BB7 #B7548C #B7B054 #54B77F
split-complementary
#545BB7 #B77F54 #8CB754
monochromatic
#2B2F66 #3D4391 #545BB7 #7F84C9 #AAAEDB

Accessibility & contrast

On white

5.90
#545BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#545BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BB7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BB7#FFFFFF#000000##FFFFFF
##545BB71.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D68BA
Deuteranopia (green-blind)
#2060B5
Tritanopia (blue-blind)
#256F80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545bb7;
/* rgb */ color: rgb(84, 91, 183);
/* oklch */ color: oklch(51.3% 0.143 276.8);
Tailwind
colors: {
  custom: {
    50: '#8c89cd',
    500: '#545bb7',
    950: '#000000',
  },
}
SCSS
$custom: #545bb7;
$custom-light: #8c89cd;
$custom-dark: #000000;
JSON
{
  "hex": "#545bb7",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 235.758,
    "s": 40.741,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51303,
    "c": 0.14304,
    "h": 276.8
  },
  "luminance": 0.12786
}

Semantic roles & 50–950 ramp

primary
#545BB7
secondary
#C9C69E
accent
#C857D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #545BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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