#4C7CD8#4C7CD8

#4C7CD8 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.8% C 0.150 H 262.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4C7CD8
RGBrgb(76, 124, 216)
HSLhsl(219, 64%, 57%)
HSVhsv(219, 65%, 85%)
CMYKcmyk(64.8%, 42.6%, 0%, 15.3%)
CIE-LABlab(52.85, 12.90, -52.08)
CIE-LCHlch(52.85, 53.66, 283.91°)
OKLaboklab(59.77% -0.0206 -0.1486)
OKLCHoklch(59.77% 0.15 262.1)
XYZxyz(22.5784, 20.9075, 67.7981)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7CD8 #D8A84C
analogous
#4CC2D8 #4C7CD8 #624CD8
triadic
#4C7CD8 #D84C7C #7CD84C
tetradic
#4C7CD8 #D84CC2 #D8A84C #4CD862
square
#4C7CD8 #D84CC2 #D8A84C #4CD862
split-complementary
#4C7CD8 #D8624C #C2D84C
monochromatic
#1E448B #295CBE #4C7CD8 #7EA1E3 #B1C6EE

Accessibility & contrast

On white

4.05
#4C7CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4C7CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7CD8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7CD8#FFFFFF#000000##000000
##4C7CD81.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5185DC
Deuteranopia (green-blind)
#3B78D6
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7cd8;
/* rgb */ color: rgb(76, 124, 216);
/* oklch */ color: oklch(59.8% 0.150 262.1);
Tailwind
colors: {
  custom: {
    50: '#8ba1e4',
    500: '#4c7cd8',
    950: '#000000',
  },
}
SCSS
$custom: #4c7cd8;
$custom-light: #8ba1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7cd8",
  "rgb": {
    "r": 76,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 219.429,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59769,
    "c": 0.15003,
    "h": 262.1
  },
  "luminance": 0.2091
}

Semantic roles & 50–950 ramp

primary
#4C7CD8
secondary
#DCC9A4
accent
#AE41E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C7CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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