#4C56CB#4C56CB

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

Color values

HEX#4C56CB
RGBrgb(76, 86, 203)
HSLhsl(235, 55%, 55%)
HSVhsv(235, 63%, 80%)
CMYKcmyk(62.6%, 57.6%, 0%, 20.4%)
CIE-LABlab(42.00, 32.16, -62.12)
CIE-LCHlch(42.00, 69.95, 297.37°)
OKLaboklab(51.28% 0.014 -0.1786)
OKLCHoklch(51.28% 0.179 274.5)
XYZxyz(17.0842, 12.5025, 58.0012)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C56CB #CBC14C
analogous
#4C95CB #4C56CB #824CCB
triadic
#4C56CB #CB4C56 #56CB4C
tetradic
#4C56CB #CB4C95 #CBC14C #4CCB82
square
#4C56CB #CB4C95 #CBC14C #4CCB82
split-complementary
#4C56CB #CB824C #95CB4C
monochromatic
#232A79 #313AA9 #4C56CB #7B83D9 #ABB0E7

Accessibility & contrast

On white

6.00
#4C56CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4C56CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C56CB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C56CB#FFFFFF#000000##FFFFFF
##4C56CB1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c56cb;
/* rgb */ color: rgb(76, 86, 203);
/* oklch */ color: oklch(51.3% 0.179 274.5);
Tailwind
colors: {
  custom: {
    50: '#8b85dc',
    500: '#4c56cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c56cb;
$custom-light: #8b85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c56cb",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 235.276,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51276,
    "c": 0.17917,
    "h": 274.5
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

primary
#4C56CB
secondary
#D4D09F
accent
#D349DE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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