#4C56C8#4C56C8

#4C56C8 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.0% C 0.175 H 274.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4C56C8
RGBrgb(76, 86, 200)
HSLhsl(235, 53%, 54%)
HSVhsv(235, 62%, 78%)
CMYKcmyk(62%, 57%, 0%, 21.6%)
CIE-LABlab(41.78, 31.15, -60.74)
CIE-LCHlch(41.78, 68.26, 297.15°)
OKLaboklab(51.04% 0.014 -0.1746)
OKLCHoklch(51.04% 0.175 274.6)
XYZxyz(16.7302, 12.3608, 56.1366)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C56C8 #C8BE4C
analogous
#4C94C8 #4C56C8 #804CC8
triadic
#4C56C8 #C84C56 #56C84C
tetradic
#4C56C8 #C84C94 #C8BE4C #4CC880
square
#4C56C8 #C84C94 #C8BE4C #4CC880
split-complementary
#4C56C8 #C8804C #94C84C
monochromatic
#242B75 #323CA4 #4C56C8 #7B82D6 #AAAEE5

Accessibility & contrast

On white

6.05
#4C56C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4C56C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C56C8
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C56C8#FFFFFF#000000##FFFFFF
##4C56C81.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c56c8;
/* rgb */ color: rgb(76, 86, 200);
/* oklch */ color: oklch(51.0% 0.175 274.6);
Tailwind
colors: {
  custom: {
    50: '#8a85d9',
    500: '#4c56c8',
    950: '#000000',
  },
}
SCSS
$custom: #4c56c8;
$custom-light: #8a85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c56c8",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 235.161,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51043,
    "c": 0.17512,
    "h": 274.6
  },
  "luminance": 0.12362
}

Semantic roles & 50–950 ramp

primary
#4C56C8
secondary
#D2CE9E
accent
#D14BDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C56C8

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

Preview Lab → · Contrast checker → · Palette generator →

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