#545FC9#545FC9

#545FC9 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.3% C 0.163 H 275.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#545FC9
RGBrgb(84, 95, 201)
HSLhsl(234, 52%, 56%)
HSVhsv(234, 58%, 79%)
CMYKcmyk(58.2%, 52.7%, 0%, 21.2%)
CIE-LABlab(44.64, 27.28, -56.68)
CIE-LCHlch(44.64, 62.90, 295.70°)
OKLaboklab(53.34% 0.0142 -0.1623)
OKLCHoklch(53.34% 0.163 275)
XYZxyz(18.2876, 14.2849, 57.0406)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FC9 #C9BE54
analogous
#5499C9 #545FC9 #8354C9
triadic
#545FC9 #C9545F #5FC954
tetradic
#545FC9 #C95499 #C9BE54 #54C983
square
#545FC9 #C95499 #C9BE54 #54C983
split-complementary
#545FC9 #C98354 #99C954
monochromatic
#272F7C #3641AA #545FC9 #838BD8 #B1B6E6

Accessibility & contrast

On white

5.44
#545FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#545FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FC9
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FC9#FFFFFF#000000##FFFFFF
##545FC91.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206FCD
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545fc9;
/* rgb */ color: rgb(84, 95, 201);
/* oklch */ color: oklch(53.3% 0.163 275.0);
Tailwind
colors: {
  custom: {
    50: '#8e8cda',
    500: '#545fc9',
    950: '#000000',
  },
}
SCSS
$custom: #545fc9;
$custom-light: #8e8cda;
$custom-dark: #000000;
JSON
{
  "hex": "#545fc9",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 234.359,
    "s": 52,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53335,
    "c": 0.16293,
    "h": 275
  },
  "luminance": 0.14286
}

Semantic roles & 50–950 ramp

primary
#545FC9
secondary
#D5D0A4
accent
#CE4CDB
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #545FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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