#4C56CC#4C56CC

#4C56CC is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.180 H 274.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4C56CC
RGBrgb(76, 86, 204)
HSLhsl(235, 56%, 55%)
HSVhsv(235, 63%, 80%)
CMYKcmyk(62.7%, 57.8%, 0%, 20%)
CIE-LABlab(42.08, 32.50, -62.58)
CIE-LCHlch(42.08, 70.51, 297.44°)
OKLaboklab(51.35% 0.014 -0.18)
OKLCHoklch(51.35% 0.181 274.4)
XYZxyz(17.2038, 12.5503, 58.6309)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C56CC #CCC24C
analogous
#4C96CC #4C56CC #824CCC
triadic
#4C56CC #CC4C56 #56CC4C
tetradic
#4C56CC #CC4C96 #CCC24C #4CCC82
square
#4C56CC #CC4C96 #CCC24C #4CCC82
split-complementary
#4C56CC #CC824C #96CC4C
monochromatic
#232A7B #313AAA #4C56CC #7C83DA #ABB0E7

Accessibility & contrast

On white

5.98
#4C56CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4C56CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C56CC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C56CC#FFFFFF#000000##FFFFFF
##4C56CC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c56cc;
/* rgb */ color: rgb(76, 86, 204);
/* oklch */ color: oklch(51.4% 0.180 274.4);
Tailwind
colors: {
  custom: {
    50: '#8b85dc',
    500: '#4c56cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c56cc;
$custom-light: #8b85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c56cc",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 235.313,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51354,
    "c": 0.1805,
    "h": 274.4
  },
  "luminance": 0.12552
}

Semantic roles & 50–950 ramp

primary
#4C56CC
secondary
#D5D19F
accent
#D349DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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