#4C7DE7#4C7DE7

#4C7DE7 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.9% C 0.169 H 263.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4C7DE7
RGBrgb(76, 125, 231)
HSLhsl(221, 76%, 60%)
HSVhsv(221, 67%, 91%)
CMYKcmyk(67.1%, 45.9%, 0%, 9.4%)
CIE-LABlab(54.00, 17.51, -58.67)
CIE-LCHlch(54.00, 61.23, 286.61°)
OKLaboklab(60.93% -0.019 -0.1679)
OKLCHoklch(60.93% 0.169 263.5)
XYZxyz(24.7328, 21.9708, 78.5232)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7DE7 #E7B64C
analogous
#4CCBE7 #4C7DE7 #684CE7
triadic
#4C7DE7 #E74C7D #7DE74C
tetradic
#4C7DE7 #E74CCB #E7B64C #4CE768
square
#4C7DE7 #E74CCB #E7B64C #4CE768
split-complementary
#4C7DE7 #E7684C #CBE74C
monochromatic
#1642A3 #1D58D9 #4C7DE7 #82A4EE #B8CBF5

Accessibility & contrast

On white

3.89
#4C7DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#4C7DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7DE7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7DE7#FFFFFF#000000##000000
##4C7DE71.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4789EB
Deuteranopia (green-blind)
#287AE5
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c7de7;
/* rgb */ color: rgb(76, 125, 231);
/* oklch */ color: oklch(60.9% 0.169 263.5);
Tailwind
colors: {
  custom: {
    50: '#8ea2ef',
    500: '#4c7de7',
    950: '#000000',
  },
}
SCSS
$custom: #4c7de7;
$custom-light: #8ea2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7de7",
  "rgb": {
    "r": 76,
    "g": 125,
    "b": 231
  },
  "hsl": {
    "h": 221.032,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60934,
    "c": 0.16903,
    "h": 263.5
  },
  "luminance": 0.21973
}

Semantic roles & 50–950 ramp

primary
#4C7DE7
secondary
#E5D2AA
accent
#980DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #4C7DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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