#545FC6#545FC6

#545FC6 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.1% C 0.159 H 275.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#545FC6
RGBrgb(84, 95, 198)
HSLhsl(234, 50%, 55%)
HSVhsv(234, 58%, 78%)
CMYKcmyk(57.6%, 52%, 0%, 22.4%)
CIE-LABlab(44.44, 26.28, -55.27)
CIE-LCHlch(44.44, 61.20, 295.43°)
OKLaboklab(53.12% 0.014 -0.1582)
OKLCHoklch(53.12% 0.159 275)
XYZxyz(17.9381, 14.1451, 55.2001)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FC6 #C6BB54
analogous
#5498C6 #545FC6 #8254C6
triadic
#545FC6 #C6545F #5FC654
tetradic
#545FC6 #C65498 #C6BB54 #54C682
square
#545FC6 #C65498 #C6BB54 #54C682
split-complementary
#545FC6 #C68254 #98C654
monochromatic
#283078 #3742A6 #545FC6 #828AD5 #B0B5E5

Accessibility & contrast

On white

5.48
#545FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#545FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FC6
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FC6#FFFFFF#000000##FFFFFF
##545FC61.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256ECA
Deuteranopia (green-blind)
#0864C4
Tritanopia (blue-blind)
#057789
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #545fc6;
/* rgb */ color: rgb(84, 95, 198);
/* oklch */ color: oklch(53.1% 0.159 275.0);
Tailwind
colors: {
  custom: {
    50: '#8e8cd8',
    500: '#545fc6',
    950: '#000000',
  },
}
SCSS
$custom: #545fc6;
$custom-light: #8e8cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#545fc6",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 198
  },
  "hsl": {
    "h": 234.211,
    "s": 50,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53122,
    "c": 0.15877,
    "h": 275
  },
  "luminance": 0.14146
}

Semantic roles & 50–950 ramp

primary
#545FC6
secondary
#D3CEA3
accent
#CC4EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #545FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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