#4C7AE7#4C7AE7

#4C7AE7 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.3% C 0.173 H 264.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4C7AE7
RGBrgb(76, 122, 231)
HSLhsl(222, 76%, 60%)
HSVhsv(222, 67%, 91%)
CMYKcmyk(67.1%, 47.2%, 0%, 9.4%)
CIE-LABlab(53.19, 19.35, -59.96)
CIE-LCHlch(53.19, 63.01, 287.89°)
OKLaboklab(60.32% -0.0163 -0.1718)
OKLCHoklch(60.32% 0.173 264.6)
XYZxyz(24.3588, 21.2227, 78.3985)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7AE7 #E7B94C
analogous
#4CC7E7 #4C7AE7 #6C4CE7
triadic
#4C7AE7 #E74C7A #7AE74C
tetradic
#4C7AE7 #E74CC7 #E7B94C #4CE76C
square
#4C7AE7 #E74CC7 #E7B94C #4CE76C
split-complementary
#4C7AE7 #E76C4C #C7E74C
monochromatic
#1640A3 #1D55D9 #4C7AE7 #82A2EE #B8CAF5

Accessibility & contrast

On white

4.00
#4C7AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4C7AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7AE7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7AE7#FFFFFF#000000##000000
##4C7AE71.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#1C78E5
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c7ae7;
/* rgb */ color: rgb(76, 122, 231);
/* oklch */ color: oklch(60.3% 0.173 264.6);
Tailwind
colors: {
  custom: {
    50: '#8e9fef',
    500: '#4c7ae7',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ae7;
$custom-light: #8e9fef;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ae7",
  "rgb": {
    "r": 76,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 222.194,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60319,
    "c": 0.17256,
    "h": 264.6
  },
  "luminance": 0.21225
}

Semantic roles & 50–950 ramp

primary
#4C7AE7
secondary
#E5D3AA
accent
#9C0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4C7AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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