#4C56CA#4C56CA

#4C56CA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.178 H 274.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4C56CA
RGBrgb(76, 86, 202)
HSLhsl(235, 54%, 55%)
HSVhsv(235, 62%, 79%)
CMYKcmyk(62.4%, 57.4%, 0%, 20.8%)
CIE-LABlab(41.93, 31.82, -61.66)
CIE-LCHlch(41.93, 69.39, 297.30°)
OKLaboklab(51.2% 0.014 -0.1773)
OKLCHoklch(51.2% 0.178 274.5)
XYZxyz(16.9654, 12.4550, 57.3757)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C56CA #CAC04C
analogous
#4C95CA #4C56CA #814CCA
triadic
#4C56CA #CA4C56 #56CA4C
tetradic
#4C56CA #CA4C95 #CAC04C #4CCA81
square
#4C56CA #CA4C95 #CAC04C #4CCA81
split-complementary
#4C56CA #CA814C #95CA4C
monochromatic
#242A78 #323BA7 #4C56CA #7B83D8 #AAAFE6

Accessibility & contrast

On white

6.02
#4C56CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4C56CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C56CA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C56CA#FFFFFF#000000##FFFFFF
##4C56CA1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c56ca;
/* rgb */ color: rgb(76, 86, 202);
/* oklch */ color: oklch(51.2% 0.178 274.5);
Tailwind
colors: {
  custom: {
    50: '#8b85db',
    500: '#4c56ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c56ca;
$custom-light: #8b85db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c56ca",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 235.238,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51198,
    "c": 0.17782,
    "h": 274.5
  },
  "luminance": 0.12456
}

Semantic roles & 50–950 ramp

primary
#4C56CA
secondary
#D4CF9E
accent
#D24ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C56CA

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

Preview Lab → · Contrast checker → · Palette generator →

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