#4C56DE#4C56DE

#4C56DE is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 52.8% C 0.204 H 273.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4C56DE
RGBrgb(76, 86, 222)
HSLhsl(236, 69%, 58%)
HSVhsv(236, 66%, 87%)
CMYKcmyk(65.8%, 61.3%, 0%, 12.9%)
CIE-LABlab(43.45, 38.57, -70.65)
CIE-LCHlch(43.45, 80.49, 298.63°)
OKLaboklab(52.8% 0.0137 -0.2037)
OKLCHoklch(52.8% 0.204 273.8)
XYZxyz(19.4887, 13.4643, 70.6649)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C56DE #DED44C
analogous
#4C9FDE #4C56DE #8B4CDE
triadic
#4C56DE #DE4C56 #56DE4C
tetradic
#4C56DE #DE4C9F #DED44C #4CDE8B
square
#4C56DE #DE4C9F #DED44C #4CDE8B
split-complementary
#4C56DE #DE8B4C #9FDE4C
monochromatic
#1B2494 #2530C8 #4C56DE #8087E8 #B3B8F1

Accessibility & contrast

On white

5.69
#4C56DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4C56DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C56DE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C56DE#FFFFFF#000000##FFFFFF
##4C56DE1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c56de;
/* rgb */ color: rgb(76, 86, 222);
/* oklch */ color: oklch(52.8% 0.204 273.8);
Tailwind
colors: {
  custom: {
    50: '#8e85e9',
    500: '#4c56de',
    950: '#000000',
  },
}
SCSS
$custom: #4c56de;
$custom-light: #8e85e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c56de",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 222
  },
  "hsl": {
    "h": 235.89,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52803,
    "c": 0.20414,
    "h": 273.8
  },
  "luminance": 0.13466
}

Semantic roles & 50–950 ramp

primary
#4C56DE
secondary
#E0DCA6
accent
#E03CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C56DE

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

Preview Lab → · Contrast checker → · Palette generator →

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