#545BC4#545BC4

#545BC4 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.2% C 0.161 H 276.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#545BC4
RGBrgb(84, 91, 196)
HSLhsl(236, 49%, 55%)
HSVhsv(236, 57%, 77%)
CMYKcmyk(57.1%, 53.6%, 0%, 23.1%)
CIE-LABlab(43.29, 28.12, -55.97)
CIE-LCHlch(43.29, 62.64, 296.68°)
OKLaboklab(52.22% 0.018 -0.1603)
OKLCHoklch(52.22% 0.161 276.4)
XYZxyz(17.3578, 13.3513, 53.8762)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BC4 #C4BD54
analogous
#5493C4 #545BC4 #8554C4
triadic
#545BC4 #C4545B #5BC454
tetradic
#545BC4 #C45493 #C4BD54 #54C485
square
#545BC4 #C45493 #C4BD54 #54C485
split-complementary
#545BC4 #C48554 #93C454
monochromatic
#282D75 #383FA3 #545BC4 #8287D4 #AFB2E3

Accessibility & contrast

On white

5.72
#545BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#545BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BC4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BC4#FFFFFF#000000##FFFFFF
##545BC41.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6BC8
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#0F7387
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545bc4;
/* rgb */ color: rgb(84, 91, 196);
/* oklch */ color: oklch(52.2% 0.161 276.4);
Tailwind
colors: {
  custom: {
    50: '#8d89d6',
    500: '#545bc4',
    950: '#000000',
  },
}
SCSS
$custom: #545bc4;
$custom-light: #8d89d6;
$custom-dark: #000000;
JSON
{
  "hex": "#545bc4",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 196
  },
  "hsl": {
    "h": 236.25,
    "s": 48.696,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52215,
    "c": 0.16126,
    "h": 276.4
  },
  "luminance": 0.13353
}

Semantic roles & 50–950 ramp

primary
#545BC4
secondary
#D1CFA2
accent
#D050D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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