#4C7EE4#4C7EE4

#4C7EE4 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.9% C 0.164 H 262.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4C7EE4
RGBrgb(76, 126, 228)
HSLhsl(220, 74%, 60%)
HSVhsv(220, 67%, 89%)
CMYKcmyk(66.7%, 44.7%, 0%, 10.6%)
CIE-LABlab(54.09, 15.85, -56.84)
CIE-LCHlch(54.09, 59.01, 285.58°)
OKLaboklab(60.95% -0.0204 -0.1626)
OKLCHoklch(60.95% 0.164 262.8)
XYZxyz(24.4400, 22.0572, 76.3532)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7EE4 #E4B24C
analogous
#4CCAE4 #4C7EE4 #664CE4
triadic
#4C7EE4 #E44C7E #7EE44C
tetradic
#4C7EE4 #E44CCA #E4B24C #4CE466
square
#4C7EE4 #E44CCA #E4B24C #4CE466
split-complementary
#4C7EE4 #E4664C #CAE44C
monochromatic
#18449E #205BD3 #4C7EE4 #81A4EC #B6CBF4

Accessibility & contrast

On white

3.88
#4C7EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#4C7EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7EE4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7EE4#FFFFFF#000000##000000
##4C7EE41.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C89E8
Deuteranopia (green-blind)
#307BE2
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c7ee4;
/* rgb */ color: rgb(76, 126, 228);
/* oklch */ color: oklch(60.9% 0.164 262.8);
Tailwind
colors: {
  custom: {
    50: '#8da2ed',
    500: '#4c7ee4',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ee4;
$custom-light: #8da2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ee4",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 220.263,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60947,
    "c": 0.16385,
    "h": 262.8
  },
  "luminance": 0.2206
}

Semantic roles & 50–950 ramp

primary
#4C7EE4
secondary
#E3D0A8
accent
#B437F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #4C7EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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