#4C7CD4#4C7CD4

#4C7CD4 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.5% C 0.145 H 261.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4C7CD4
RGBrgb(76, 124, 212)
HSLhsl(219, 61%, 56%)
HSVhsv(219, 64%, 83%)
CMYKcmyk(64.2%, 41.5%, 0%, 16.9%)
CIE-LABlab(52.62, 11.52, -50.18)
CIE-LCHlch(52.62, 51.48, 282.93°)
OKLaboklab(59.52% -0.0214 -0.143)
OKLCHoklch(59.52% 0.145 261.5)
XYZxyz(22.0676, 20.7032, 65.1077)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7CD4 #D4A44C
analogous
#4CC0D4 #4C7CD4 #604CD4
triadic
#4C7CD4 #D44C7C #7CD44C
tetradic
#4C7CD4 #D44CC0 #D4A44C #4CD460
square
#4C7CD4 #D44CC0 #D4A44C #4CD460
split-complementary
#4C7CD4 #D4604C #C0D44C
monochromatic
#204486 #2C5DB7 #4C7CD4 #7DA0E0 #AFC4EC

Accessibility & contrast

On white

4.08
#4C7CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4C7CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7CD4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7CD4#FFFFFF#000000##000000
##4C7CD41.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5484D7
Deuteranopia (green-blind)
#3F78D2
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7cd4;
/* rgb */ color: rgb(76, 124, 212);
/* oklch */ color: oklch(59.5% 0.145 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ba1e2',
    500: '#4c7cd4',
    950: '#000000',
  },
}
SCSS
$custom: #4c7cd4;
$custom-light: #8ba1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7cd4",
  "rgb": {
    "r": 76,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 218.824,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59522,
    "c": 0.14461,
    "h": 261.5
  },
  "luminance": 0.20705
}

Semantic roles & 50–950 ramp

primary
#4C7CD4
secondary
#DAC6A2
accent
#AC43E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4C7CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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