#4C7DE4#4C7DE4

#4C7DE4 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.7% C 0.165 H 263.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4C7DE4
RGBrgb(76, 125, 228)
HSLhsl(221, 74%, 60%)
HSVhsv(221, 67%, 89%)
CMYKcmyk(66.7%, 45.2%, 0%, 10.6%)
CIE-LABlab(53.82, 16.46, -57.28)
CIE-LCHlch(53.82, 59.60, 286.03°)
OKLaboklab(60.74% -0.0195 -0.1639)
OKLCHoklch(60.74% 0.165 263.2)
XYZxyz(24.3128, 21.8028, 76.3108)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7DE4 #E4B34C
analogous
#4CC9E4 #4C7DE4 #674CE4
triadic
#4C7DE4 #E44C7D #7DE44C
tetradic
#4C7DE4 #E44CC9 #E4B34C #4CE467
square
#4C7DE4 #E44CC9 #E4B34C #4CE467
split-complementary
#4C7DE4 #E4674C #C9E44C
monochromatic
#18439E #205AD3 #4C7DE4 #81A4EC #B6CAF4

Accessibility & contrast

On white

3.92
#4C7DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4C7DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7DE4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7DE4#FFFFFF#000000##000000
##4C7DE41.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A88E8
Deuteranopia (green-blind)
#2D7AE2
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c7de4;
/* rgb */ color: rgb(76, 125, 228);
/* oklch */ color: oklch(60.7% 0.165 263.2);
Tailwind
colors: {
  custom: {
    50: '#8da2ed',
    500: '#4c7de4',
    950: '#000000',
  },
}
SCSS
$custom: #4c7de4;
$custom-light: #8da2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7de4",
  "rgb": {
    "r": 76,
    "g": 125,
    "b": 228
  },
  "hsl": {
    "h": 220.658,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6074,
    "c": 0.16502,
    "h": 263.2
  },
  "luminance": 0.21805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C7DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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