#4C7EE7#4C7EE7

#4C7EE7 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.1% C 0.168 H 263.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4C7EE7
RGBrgb(76, 126, 231)
HSLhsl(221, 76%, 60%)
HSVhsv(221, 67%, 91%)
CMYKcmyk(67.1%, 45.5%, 0%, 9.4%)
CIE-LABlab(54.27, 16.89, -58.24)
CIE-LCHlch(54.27, 60.64, 286.18°)
OKLaboklab(61.14% -0.0199 -0.1667)
OKLCHoklch(61.14% 0.168 263.2)
XYZxyz(24.8601, 22.2253, 78.5656)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7EE7 #E7B54C
analogous
#4CCCE7 #4C7EE7 #674CE7
triadic
#4C7EE7 #E74C7E #7EE74C
tetradic
#4C7EE7 #E74CCC #E7B54C #4CE767
square
#4C7EE7 #E74CCC #E7B54C #4CE767
split-complementary
#4C7EE7 #E7674C #CCE74C
monochromatic
#1643A3 #1D5AD9 #4C7EE7 #82A5EE #B8CCF5

Accessibility & contrast

On white

3.86
#4C7EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4C7EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7EE7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7EE7#FFFFFF#000000##000000
##4C7EE71.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4989EB
Deuteranopia (green-blind)
#2B7BE5
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4c7ee7;
/* rgb */ color: rgb(76, 126, 231);
/* oklch */ color: oklch(61.1% 0.168 263.2);
Tailwind
colors: {
  custom: {
    50: '#8ea2ef',
    500: '#4c7ee7',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ee7;
$custom-light: #8ea2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ee7",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 220.645,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61141,
    "c": 0.16786,
    "h": 263.2
  },
  "luminance": 0.22228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C7EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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