#545CCF#545CCF

#545CCF is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.2% C 0.175 H 275.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#545CCF
RGBrgb(84, 92, 207)
HSLhsl(236, 56%, 57%)
HSVhsv(236, 59%, 81%)
CMYKcmyk(59.4%, 55.6%, 0%, 18.8%)
CIE-LABlab(44.29, 31.14, -60.69)
CIE-LCHlch(44.29, 68.21, 297.16°)
OKLaboklab(53.21% 0.0174 -0.1741)
OKLCHoklch(53.21% 0.175 275.7)
XYZxyz(18.7421, 14.0427, 60.7422)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545CCF #CFC754
analogous
#5499CF #545CCF #8A54CF
triadic
#545CCF #CF545C #5CCF54
tetradic
#545CCF #CF5499 #CFC754 #54CF8A
square
#545CCF #CF5499 #CFC754 #54CF8A
split-complementary
#545CCF #CF8A54 #99CF54
monochromatic
#252B84 #323BB3 #545CCF #848ADC #B4B7EA

Accessibility & contrast

On white

5.51
#545CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#545CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545CCF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545CCF#FFFFFF#000000##FFFFFF
##545CCF1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #545ccf;
/* rgb */ color: rgb(84, 92, 207);
/* oklch */ color: oklch(53.2% 0.175 275.7);
Tailwind
colors: {
  custom: {
    50: '#8f8ade',
    500: '#545ccf',
    950: '#000000',
  },
}
SCSS
$custom: #545ccf;
$custom-light: #8f8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#545ccf",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 236.098,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53207,
    "c": 0.17501,
    "h": 275.7
  },
  "luminance": 0.14044
}

Semantic roles & 50–950 ramp

primary
#545CCF
secondary
#D8D5A6
accent
#D648DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #545CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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