#4C54DC#4C54DC

#4C54DC is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.3% C 0.204 H 274.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4C54DC
RGBrgb(76, 84, 220)
HSLhsl(237, 67%, 58%)
HSVhsv(237, 65%, 86%)
CMYKcmyk(65.5%, 61.8%, 0%, 13.7%)
CIE-LABlab(42.83, 39.12, -70.53)
CIE-LCHlch(42.83, 80.66, 299.01°)
OKLaboklab(52.29% 0.0153 -0.2033)
OKLCHoklch(52.29% 0.204 274.3)
XYZxyz(19.0648, 13.0428, 69.2091)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C54DC #DCD44C
analogous
#4C9CDC #4C54DC #8C4CDC
triadic
#4C54DC #DC4C54 #54DC4C
tetradic
#4C54DC #DC4C9C #DCD44C #4CDC8C
square
#4C54DC #DC4C9C #DCD44C #4CDC8C
split-complementary
#4C54DC #DC8C4C #9CDC4C
monochromatic
#1C2391 #262FC4 #4C54DC #7F85E6 #B2B6F0

Accessibility & contrast

On white

5.82
#4C54DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4C54DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C54DC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C54DC#FFFFFF#000000##FFFFFF
##4C54DC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c54dc;
/* rgb */ color: rgb(76, 84, 220);
/* oklch */ color: oklch(52.3% 0.204 274.3);
Tailwind
colors: {
  custom: {
    50: '#8e84e8',
    500: '#4c54dc',
    950: '#000000',
  },
}
SCSS
$custom: #4c54dc;
$custom-light: #8e84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c54dc",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 236.667,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52293,
    "c": 0.20393,
    "h": 274.3
  },
  "luminance": 0.13044
}

Semantic roles & 50–950 ramp

primary
#4C54DC
secondary
#DFDBA5
accent
#E13EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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