#545FDC#545FDC

#545FDC is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.7% C 0.189 H 274.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#545FDC
RGBrgb(84, 95, 220)
HSLhsl(235, 66%, 60%)
HSVhsv(235, 62%, 86%)
CMYKcmyk(61.8%, 56.8%, 0%, 13.7%)
CIE-LABlab(45.95, 33.60, -65.42)
CIE-LCHlch(45.95, 73.55, 297.18°)
OKLaboklab(54.74% 0.0149 -0.188)
OKLCHoklch(54.74% 0.189 274.5)
XYZxyz(20.6624, 15.2349, 69.5480)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FDC #DCD154
analogous
#54A3DC #545FDC #8D54DC
triadic
#545FDC #DC545F #5FDC54
tetradic
#545FDC #DC54A3 #DCD154 #54DC8D
square
#545FDC #DC54A3 #DCD154 #54DC8D
split-complementary
#545FDC #DC8D54 #A3DC54
monochromatic
#1F2997 #2936CA #545FDC #878FE6 #BABEF1

Accessibility & contrast

On white

5.19
#545FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#545FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FDC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FDC#FFFFFF#000000##FFFFFF
##545FDC1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #545fdc;
/* rgb */ color: rgb(84, 95, 220);
/* oklch */ color: oklch(54.7% 0.189 274.5);
Tailwind
colors: {
  custom: {
    50: '#918ce8',
    500: '#545fdc',
    950: '#000000',
  },
}
SCSS
$custom: #545fdc;
$custom-light: #918ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#545fdc",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 235.147,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54735,
    "c": 0.18863,
    "h": 274.5
  },
  "luminance": 0.15237
}

Semantic roles & 50–950 ramp

primary
#545FDC
secondary
#E0DCAC
accent
#DB3FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #545FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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