#4C7DD4#4C7DD4

#4C7DD4 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.7% C 0.143 H 261.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4C7DD4
RGBrgb(76, 125, 212)
HSLhsl(218, 61%, 56%)
HSVhsv(218, 64%, 83%)
CMYKcmyk(64.2%, 41%, 0%, 16.9%)
CIE-LABlab(52.90, 10.91, -49.74)
CIE-LCHlch(52.90, 50.92, 282.37°)
OKLaboklab(59.74% -0.0224 -0.1417)
OKLCHoklch(59.74% 0.143 261)
XYZxyz(22.1936, 20.9551, 65.1497)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7DD4 #D4A34C
analogous
#4CC1D4 #4C7DD4 #5F4CD4
triadic
#4C7DD4 #D44C7D #7DD44C
tetradic
#4C7DD4 #D44CC1 #D4A34C #4CD45F
square
#4C7DD4 #D44CC1 #D4A34C #4CD45F
split-complementary
#4C7DD4 #D45F4C #C1D44C
monochromatic
#204586 #2C5EB7 #4C7DD4 #7DA1E0 #AFC5EC

Accessibility & contrast

On white

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

On black

5.19
#4C7DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7DD4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7DD4#FFFFFF#000000##000000
##4C7DD41.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5685D7
Deuteranopia (green-blind)
#4178D2
Tritanopia (blue-blind)
#00919E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7dd4;
/* rgb */ color: rgb(76, 125, 212);
/* oklch */ color: oklch(59.7% 0.143 261.0);
Tailwind
colors: {
  custom: {
    50: '#8ba2e2',
    500: '#4c7dd4',
    950: '#000000',
  },
}
SCSS
$custom: #4c7dd4;
$custom-light: #8ba2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7dd4",
  "rgb": {
    "r": 76,
    "g": 125,
    "b": 212
  },
  "hsl": {
    "h": 218.382,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59736,
    "c": 0.14347,
    "h": 261
  },
  "luminance": 0.20957
}

Semantic roles & 50–950 ramp

primary
#4C7DD4
secondary
#DAC6A2
accent
#AA43E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4C7DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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