#4C56D9#4C56D9

#4C56D9 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.198 H 274.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4C56D9
RGBrgb(76, 86, 217)
HSLhsl(236, 65%, 57%)
HSVhsv(236, 65%, 85%)
CMYKcmyk(65%, 60.4%, 0%, 14.9%)
CIE-LABlab(43.06, 36.89, -68.44)
CIE-LCHlch(43.06, 77.75, 298.32°)
OKLaboklab(52.39% 0.0138 -0.1972)
OKLCHoklch(52.39% 0.198 274)
XYZxyz(18.8285, 13.2002, 67.1878)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C56D9 #D9CF4C
analogous
#4C9CD9 #4C56D9 #894CD9
triadic
#4C56D9 #D94C56 #56D94C
tetradic
#4C56D9 #D94C9C #D9CF4C #4CD989
square
#4C56D9 #D94C9C #D9CF4C #4CD989
split-complementary
#4C56D9 #D9894C #9CD94C
monochromatic
#1E268D #2933BF #4C56D9 #7E86E4 #B1B5EE

Accessibility & contrast

On white

5.77
#4C56D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4C56D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C56D9
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C56D9#FFFFFF#000000##FFFFFF
##4C56D91.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c56d9;
/* rgb */ color: rgb(76, 86, 217);
/* oklch */ color: oklch(52.4% 0.198 274.0);
Tailwind
colors: {
  custom: {
    50: '#8d85e6',
    500: '#4c56d9',
    950: '#000000',
  },
}
SCSS
$custom: #4c56d9;
$custom-light: #8d85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c56d9",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 217
  },
  "hsl": {
    "h": 235.745,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52393,
    "c": 0.19766,
    "h": 274
  },
  "luminance": 0.13202
}

Semantic roles & 50–950 ramp

primary
#4C56D9
secondary
#DDD9A4
accent
#DC40E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C56D9

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

Preview Lab → · Contrast checker → · Palette generator →

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