#545FCC#545FCC

#545FCC is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.167 H 274.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#545FCC
RGBrgb(84, 95, 204)
HSLhsl(235, 54%, 56%)
HSVhsv(235, 59%, 80%)
CMYKcmyk(58.8%, 53.4%, 0%, 20%)
CIE-LABlab(44.84, 28.27, -58.08)
CIE-LCHlch(44.84, 64.60, 295.96°)
OKLaboklab(53.55% 0.0143 -0.1664)
OKLCHoklch(53.55% 0.167 274.9)
XYZxyz(18.6439, 14.4275, 58.9173)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FCC #CCC154
analogous
#549BCC #545FCC #8554CC
triadic
#545FCC #CC545F #5FCC54
tetradic
#545FCC #CC549B #CCC154 #54CC85
square
#545FCC #CC549B #CCC154 #54CC85
split-complementary
#545FCC #CC8554 #9BCC54
monochromatic
#262E80 #343FAF #545FCC #838BDA #B2B7E8

Accessibility & contrast

On white

5.40
#545FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#545FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FCC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FCC#FFFFFF#000000##FFFFFF
##545FCC1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6FD0
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545fcc;
/* rgb */ color: rgb(84, 95, 204);
/* oklch */ color: oklch(53.5% 0.167 274.9);
Tailwind
colors: {
  custom: {
    50: '#8f8cdc',
    500: '#545fcc',
    950: '#000000',
  },
}
SCSS
$custom: #545fcc;
$custom-light: #8f8cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#545fcc",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 234.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5355,
    "c": 0.16706,
    "h": 274.9
  },
  "luminance": 0.14429
}

Semantic roles & 50–950 ramp

primary
#545FCC
secondary
#D7D2A5
accent
#D04ADD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #545FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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