#545FCE#545FCE

#545FCE is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.170 H 274.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#545FCE
RGBrgb(84, 95, 206)
HSLhsl(235, 55%, 57%)
HSVhsv(235, 59%, 81%)
CMYKcmyk(59.2%, 53.9%, 0%, 19.2%)
CIE-LABlab(44.98, 28.94, -59.01)
CIE-LCHlch(44.98, 65.72, 296.12°)
OKLaboklab(53.69% 0.0144 -0.1692)
OKLCHoklch(53.69% 0.17 274.9)
XYZxyz(18.8853, 14.5240, 60.1888)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FCE #CEC354
analogous
#549CCE #545FCE #8654CE
triadic
#545FCE #CE545F #5FCE54
tetradic
#545FCE #CE549C #CEC354 #54CE86
square
#545FCE #CE549C #CEC354 #54CE86
split-complementary
#545FCE #CE8654 #9CCE54
monochromatic
#252E82 #333EB2 #545FCE #848CDC #B3B8E9

Accessibility & contrast

On white

5.38
#545FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#545FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FCE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FCE#FFFFFF#000000##FFFFFF
##545FCE1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1570D2
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545fce;
/* rgb */ color: rgb(84, 95, 206);
/* oklch */ color: oklch(53.7% 0.170 274.9);
Tailwind
colors: {
  custom: {
    50: '#8f8cde',
    500: '#545fce',
    950: '#000000',
  },
}
SCSS
$custom: #545fce;
$custom-light: #8f8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#545fce",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 234.59,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53694,
    "c": 0.16979,
    "h": 274.9
  },
  "luminance": 0.14525
}

Semantic roles & 50–950 ramp

primary
#545FCE
secondary
#D8D3A6
accent
#D149DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #545FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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