#4C56DB#4C56DB

#4C56DB is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.6% C 0.200 H 273.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4C56DB
RGBrgb(76, 86, 219)
HSLhsl(236, 67%, 58%)
HSVhsv(236, 65%, 86%)
CMYKcmyk(65.3%, 60.7%, 0%, 14.1%)
CIE-LABlab(43.22, 37.56, -69.33)
CIE-LCHlch(43.22, 78.85, 298.45°)
OKLaboklab(52.56% 0.0138 -0.1998)
OKLCHoklch(52.56% 0.2 273.9)
XYZxyz(19.0902, 13.3049, 68.5662)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C56DB #DBD14C
analogous
#4C9EDB #4C56DB #894CDB
triadic
#4C56DB #DB4C56 #56DB4C
tetradic
#4C56DB #DB4C9E #DBD14C #4CDB89
square
#4C56DB #DB4C9E #DBD14C #4CDB89
split-complementary
#4C56DB #DB894C #9EDB4C
monochromatic
#1D2590 #2732C3 #4C56DB #7F86E5 #B2B6EF

Accessibility & contrast

On white

5.74
#4C56DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4C56DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C56DB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C56DB#FFFFFF#000000##FFFFFF
##4C56DB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c56db;
/* rgb */ color: rgb(76, 86, 219);
/* oklch */ color: oklch(52.6% 0.200 273.9);
Tailwind
colors: {
  custom: {
    50: '#8e85e7',
    500: '#4c56db',
    950: '#000000',
  },
}
SCSS
$custom: #4c56db;
$custom-light: #8e85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c56db",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 235.804,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52556,
    "c": 0.20026,
    "h": 273.9
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#4C56DB
secondary
#DEDAA5
accent
#DD3EE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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