#4C54CD#4C54CD

#4C54CD is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.1% C 0.184 H 274.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4C54CD
RGBrgb(76, 84, 205)
HSLhsl(236, 56%, 55%)
HSVhsv(236, 63%, 80%)
CMYKcmyk(62.9%, 59%, 0%, 19.6%)
CIE-LABlab(41.66, 34.08, -63.83)
CIE-LCHlch(41.66, 72.36, 298.10°)
OKLaboklab(51.07% 0.0158 -0.1836)
OKLCHoklch(51.07% 0.184 274.9)
XYZxyz(17.1666, 12.2835, 59.2121)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C54CD #CDC54C
analogous
#4C95CD #4C54CD #844CCD
triadic
#4C54CD #CD4C54 #54CD4C
tetradic
#4C54CD #CD4C95 #CDC54C #4CCD84
square
#4C54CD #CD4C95 #CDC54C #4CCD84
split-complementary
#4C54CD #CD844C #95CD4C
monochromatic
#23287C #3038AC #4C54CD #7C82DA #ACAFE8

Accessibility & contrast

On white

6.07
#4C54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4C54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C54CD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C54CD#FFFFFF#000000##FFFFFF
##4C54CD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c54cd;
/* rgb */ color: rgb(76, 84, 205);
/* oklch */ color: oklch(51.1% 0.184 274.9);
Tailwind
colors: {
  custom: {
    50: '#8b84dd',
    500: '#4c54cd',
    950: '#000000',
  },
}
SCSS
$custom: #4c54cd;
$custom-light: #8b84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c54cd",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 236.279,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5107,
    "c": 0.18433,
    "h": 274.9
  },
  "luminance": 0.12285
}

Semantic roles & 50–950 ramp

primary
#4C54CD
secondary
#D5D29F
accent
#D648E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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