#545BB6#545BB6

#545BB6 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.142 H 276.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#545BB6
RGBrgb(84, 91, 182)
HSLhsl(236, 40%, 52%)
HSVhsv(236, 54%, 71%)
CMYKcmyk(53.8%, 50%, 0%, 28.6%)
CIE-LABlab(42.37, 23.53, -49.29)
CIE-LCHlch(42.37, 54.62, 295.52°)
OKLaboklab(51.24% 0.0169 -0.1406)
OKLCHoklch(51.24% 0.142 276.9)
XYZxyz(15.8381, 12.7434, 45.8720)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BB6 #B6AF54
analogous
#548CB6 #545BB6 #7E54B6
triadic
#545BB6 #B6545B #5BB654
tetradic
#545BB6 #B6548C #B6AF54 #54B67E
square
#545BB6 #B6548C #B6AF54 #54B67E
split-complementary
#545BB6 #B67E54 #8CB654
monochromatic
#2B2F65 #3D4390 #545BB6 #7F84C8 #AAADDB

Accessibility & contrast

On white

5.92
#545BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#545BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BB6
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BB6#FFFFFF#000000##FFFFFF
##545BB61.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E68B9
Deuteranopia (green-blind)
#2260B4
Tritanopia (blue-blind)
#266F80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #545bb6;
/* rgb */ color: rgb(84, 91, 182);
/* oklch */ color: oklch(51.2% 0.142 276.9);
Tailwind
colors: {
  custom: {
    50: '#8b89cc',
    500: '#545bb6',
    950: '#000000',
  },
}
SCSS
$custom: #545bb6;
$custom-light: #8b89cc;
$custom-dark: #000000;
JSON
{
  "hex": "#545bb6",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 182
  },
  "hsl": {
    "h": 235.714,
    "s": 40.164,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51235,
    "c": 0.14162,
    "h": 276.9
  },
  "luminance": 0.12744
}

Semantic roles & 50–950 ramp

primary
#545BB6
secondary
#C8C59E
accent
#C758D0
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #545BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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