#4C7FD4#4C7FD4

#4C7FD4 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.2% C 0.141 H 260.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4C7FD4
RGBrgb(76, 127, 212)
HSLhsl(218, 61%, 56%)
HSVhsv(218, 64%, 83%)
CMYKcmyk(64.2%, 40.1%, 0%, 16.9%)
CIE-LABlab(53.46, 9.69, -48.85)
CIE-LCHlch(53.46, 49.80, 281.22°)
OKLaboklab(60.17% -0.0244 -0.1391)
OKLCHoklch(60.17% 0.141 260.1)
XYZxyz(22.4493, 21.4666, 65.2350)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FD4 #D4A14C
analogous
#4CC3D4 #4C7FD4 #5D4CD4
triadic
#4C7FD4 #D44C7F #7FD44C
tetradic
#4C7FD4 #D44CC3 #D4A14C #4CD45D
square
#4C7FD4 #D44CC3 #D4A14C #4CD45D
split-complementary
#4C7FD4 #D45D4C #C3D44C
monochromatic
#204686 #2C60B7 #4C7FD4 #7DA2E0 #AFC6EC

Accessibility & contrast

On white

3.97
#4C7FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4C7FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FD4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FD4#FFFFFF#000000##000000
##4C7FD41.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5987D7
Deuteranopia (green-blind)
#457AD2
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c7fd4;
/* rgb */ color: rgb(76, 127, 212);
/* oklch */ color: oklch(60.2% 0.141 260.1);
Tailwind
colors: {
  custom: {
    50: '#8ba3e2',
    500: '#4c7fd4',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fd4;
$custom-light: #8ba3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fd4",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 217.5,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60167,
    "c": 0.14121,
    "h": 260.1
  },
  "luminance": 0.21469
}

Semantic roles & 50–950 ramp

primary
#4C7FD4
secondary
#DAC5A2
accent
#A843E4
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4C7FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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