#4C7DD8#4C7DD8

#4C7DD8 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.0% C 0.149 H 261.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4C7DD8
RGBrgb(76, 125, 216)
HSLhsl(219, 64%, 57%)
HSVhsv(219, 65%, 85%)
CMYKcmyk(64.8%, 42.1%, 0%, 15.3%)
CIE-LABlab(53.12, 12.29, -51.64)
CIE-LCHlch(53.12, 53.08, 283.39°)
OKLaboklab(59.98% -0.0216 -0.1473)
OKLCHoklch(59.98% 0.149 261.7)
XYZxyz(22.7044, 21.1594, 67.8401)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7DD8 #D8A74C
analogous
#4CC3D8 #4C7DD8 #614CD8
triadic
#4C7DD8 #D84C7D #7DD84C
tetradic
#4C7DD8 #D84CC3 #D8A74C #4CD861
square
#4C7DD8 #D84CC3 #D8A74C #4CD861
split-complementary
#4C7DD8 #D8614C #C3D84C
monochromatic
#1E448B #295DBE #4C7DD8 #7EA1E3 #B1C6EE

Accessibility & contrast

On white

4.01
#4C7DD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4C7DD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7DD8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7DD8#FFFFFF#000000##000000
##4C7DD81.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5386DC
Deuteranopia (green-blind)
#3D79D6
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c7dd8;
/* rgb */ color: rgb(76, 125, 216);
/* oklch */ color: oklch(60.0% 0.149 261.7);
Tailwind
colors: {
  custom: {
    50: '#8ba2e4',
    500: '#4c7dd8',
    950: '#000000',
  },
}
SCSS
$custom: #4c7dd8;
$custom-light: #8ba2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7dd8",
  "rgb": {
    "r": 76,
    "g": 125,
    "b": 216
  },
  "hsl": {
    "h": 219,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59981,
    "c": 0.14888,
    "h": 261.7
  },
  "luminance": 0.21162
}

Semantic roles & 50–950 ramp

primary
#4C7DD8
secondary
#DCC8A4
accent
#AD41E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4C7DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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