#545BD6#545BD6

#545BD6 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.6% C 0.186 H 275.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#545BD6
RGBrgb(84, 91, 214)
HSLhsl(237, 61%, 58%)
HSVhsv(237, 61%, 84%)
CMYKcmyk(60.7%, 57.5%, 0%, 16.1%)
CIE-LABlab(44.55, 34.07, -64.29)
CIE-LCHlch(44.55, 72.76, 297.92°)
OKLaboklab(53.55% 0.0185 -0.1847)
OKLCHoklch(53.55% 0.186 275.7)
XYZxyz(19.5309, 14.2205, 65.3209)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BD6 #D6CF54
analogous
#549CD6 #545BD6 #8E54D6
triadic
#545BD6 #D6545B #5BD654
tetradic
#545BD6 #D6549C #D6CF54 #54D68E
square
#545BD6 #D6549C #D6CF54 #54D68E
split-complementary
#545BD6 #D68E54 #9CD654
monochromatic
#22288E #2E36BF #545BD6 #858AE2 #B7BAEE

Accessibility & contrast

On white

5.46
#545BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#545BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BD6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BD6#FFFFFF#000000##FFFFFF
##545BD61.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#0064D4
Tritanopia (blue-blind)
#007990
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #545bd6;
/* rgb */ color: rgb(84, 91, 214);
/* oklch */ color: oklch(53.6% 0.186 275.7);
Tailwind
colors: {
  custom: {
    50: '#9089e3',
    500: '#545bd6',
    950: '#000000',
  },
}
SCSS
$custom: #545bd6;
$custom-light: #9089e3;
$custom-dark: #000000;
JSON
{
  "hex": "#545bd6",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 214
  },
  "hsl": {
    "h": 236.769,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53553,
    "c": 0.18565,
    "h": 275.7
  },
  "luminance": 0.14222
}

Semantic roles & 50–950 ramp

primary
#545BD6
secondary
#DDDAA9
accent
#DC43E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #545BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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