#4C54BD#4C54BD

#4C54BD is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.8% C 0.163 H 275.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4C54BD
RGBrgb(76, 84, 189)
HSLhsl(236, 46%, 52%)
HSVhsv(236, 60%, 74%)
CMYKcmyk(59.8%, 55.6%, 0%, 25.9%)
CIE-LABlab(40.49, 28.69, -56.44)
CIE-LCHlch(40.49, 63.31, 296.94°)
OKLaboklab(49.83% 0.0156 -0.1619)
OKLCHoklch(49.83% 0.163 275.5)
XYZxyz(15.3331, 11.5501, 49.5556)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C54BD #BDB54C
analogous
#4C8DBD #4C54BD #7D4CBD
triadic
#4C54BD #BD4C54 #54BD4C
tetradic
#4C54BD #BD4C8D #BDB54C #4CBD7D
square
#4C54BD #BD4C8D #BDB54C #4CBD7D
split-complementary
#4C54BD #BD7D4C #8DBD4C
monochromatic
#262B68 #373E95 #4C54BD #797FCD #A5A9DE

Accessibility & contrast

On white

6.34
#4C54BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4C54BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C54BD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C54BD#FFFFFF#000000##FFFFFF
##4C54BD1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c54bd;
/* rgb */ color: rgb(76, 84, 189);
/* oklch */ color: oklch(49.8% 0.163 275.5);
Tailwind
colors: {
  custom: {
    50: '#8984d2',
    500: '#4c54bd',
    950: '#000000',
  },
}
SCSS
$custom: #4c54bd;
$custom-light: #8984d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c54bd",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 235.752,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.4983,
    "c": 0.16268,
    "h": 275.5
  },
  "luminance": 0.11551
}

Semantic roles & 50–950 ramp

primary
#4C54BD
secondary
#CBC89A
accent
#CC52D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4C54BD

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

Preview Lab → · Contrast checker → · Palette generator →

#4C54BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva