#545BC2#545BC2

#545BC2 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.159 H 276.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#545BC2
RGBrgb(84, 91, 194)
HSLhsl(236, 47%, 55%)
HSVhsv(236, 57%, 76%)
CMYKcmyk(56.7%, 53.1%, 0%, 23.9%)
CIE-LABlab(43.15, 27.47, -55.03)
CIE-LCHlch(43.15, 61.50, 296.53°)
OKLaboklab(52.07% 0.0179 -0.1575)
OKLCHoklch(52.07% 0.159 276.5)
XYZxyz(17.1317, 13.2608, 52.6853)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BC2 #C2BB54
analogous
#5492C2 #545BC2 #8454C2
triadic
#545BC2 #C2545B #5BC254
tetradic
#545BC2 #C25492 #C2BB54 #54C284
square
#545BC2 #C25492 #C2BB54 #54C284
split-complementary
#545BC2 #C28454 #92C254
monochromatic
#292E73 #3940A0 #545BC2 #8186D2 #AEB2E2

Accessibility & contrast

On white

5.75
#545BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#545BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BC2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BC2#FFFFFF#000000##FFFFFF
##545BC21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6BC6
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#147386
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545bc2;
/* rgb */ color: rgb(84, 91, 194);
/* oklch */ color: oklch(52.1% 0.159 276.5);
Tailwind
colors: {
  custom: {
    50: '#8d89d5',
    500: '#545bc2',
    950: '#000000',
  },
}
SCSS
$custom: #545bc2;
$custom-light: #8d89d5;
$custom-dark: #000000;
JSON
{
  "hex": "#545bc2",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 236.182,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52071,
    "c": 0.1585,
    "h": 276.5
  },
  "luminance": 0.13262
}

Semantic roles & 50–950 ramp

primary
#545BC2
secondary
#D0CDA2
accent
#CE51D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #545BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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