#4C7FDC#4C7FDC

#4C7FDC is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.7% C 0.152 H 261.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4C7FDC
RGBrgb(76, 127, 220)
HSLhsl(219, 67%, 58%)
HSVhsv(219, 65%, 86%)
CMYKcmyk(65.5%, 42.3%, 0%, 13.7%)
CIE-LABlab(53.90, 12.45, -52.66)
CIE-LCHlch(53.90, 54.11, 283.31°)
OKLaboklab(60.65% -0.0228 -0.1502)
OKLCHoklch(60.65% 0.152 261.4)
XYZxyz(23.4836, 21.8803, 70.6820)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FDC #DCA94C
analogous
#4CC7DC #4C7FDC #614CDC
triadic
#4C7FDC #DC4C7F #7FDC4C
tetradic
#4C7FDC #DC4CC7 #DCA94C #4CDC61
square
#4C7FDC #DC4CC7 #DCA94C #4CDC61
split-complementary
#4C7FDC #DC614C #C7DC4C
monochromatic
#1C4691 #265EC4 #4C7FDC #7FA4E6 #B2C8F0

Accessibility & contrast

On white

3.91
#4C7FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#4C7FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FDC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FDC#FFFFFF#000000##000000
##4C7FDC1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488E0
Deuteranopia (green-blind)
#3D7BDA
Tritanopia (blue-blind)
#0094A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c7fdc;
/* rgb */ color: rgb(76, 127, 220);
/* oklch */ color: oklch(60.7% 0.152 261.4);
Tailwind
colors: {
  custom: {
    50: '#8ca3e7',
    500: '#4c7fdc',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fdc;
$custom-light: #8ca3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fdc",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 218.75,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60654,
    "c": 0.15197,
    "h": 261.4
  },
  "luminance": 0.21883
}

Semantic roles & 50–950 ramp

primary
#4C7FDC
secondary
#DFCAA5
accent
#AD3EEA
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C7FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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