#545BD4#545BD4

#545BD4 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.4% C 0.183 H 275.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#545BD4
RGBrgb(84, 91, 212)
HSLhsl(237, 60%, 58%)
HSVhsv(237, 60%, 83%)
CMYKcmyk(60.4%, 57.1%, 0%, 16.9%)
CIE-LABlab(44.40, 33.41, -63.38)
CIE-LCHlch(44.40, 71.64, 297.80°)
OKLaboklab(53.4% 0.0185 -0.1821)
OKLCHoklch(53.4% 0.183 275.8)
XYZxyz(19.2770, 14.1190, 63.9840)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545BD4 #D4CD54
analogous
#549BD4 #545BD4 #8D54D4
triadic
#545BD4 #D4545B #5BD454
tetradic
#545BD4 #D4549B #D4CD54 #54D48D
square
#545BD4 #D4549B #D4CD54 #54D48D
split-complementary
#545BD4 #D48D54 #9BD454
monochromatic
#23298B #2F37BC #545BD4 #858AE0 #B6B9ED

Accessibility & contrast

On white

5.49
#545BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#545BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545BD4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545BD4#FFFFFF#000000##FFFFFF
##545BD41.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #545bd4;
/* rgb */ color: rgb(84, 91, 212);
/* oklch */ color: oklch(53.4% 0.183 275.8);
Tailwind
colors: {
  custom: {
    50: '#9089e2',
    500: '#545bd4',
    950: '#000000',
  },
}
SCSS
$custom: #545bd4;
$custom-light: #9089e2;
$custom-dark: #000000;
JSON
{
  "hex": "#545bd4",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 212
  },
  "hsl": {
    "h": 236.719,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.534,
    "c": 0.18299,
    "h": 275.8
  },
  "luminance": 0.1412
}

Semantic roles & 50–950 ramp

primary
#545BD4
secondary
#DBD9A8
accent
#DA45E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #545BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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