#4C7AE2#4C7AE2

#4C7AE2 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.0% C 0.166 H 264.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4C7AE2
RGBrgb(76, 122, 226)
HSLhsl(222, 72%, 59%)
HSVhsv(222, 66%, 89%)
CMYKcmyk(66.4%, 46%, 0%, 11.4%)
CIE-LABlab(52.89, 17.61, -57.65)
CIE-LCHlch(52.89, 60.28, 286.99°)
OKLaboklab(59.99% -0.017 -0.165)
OKLCHoklch(59.99% 0.166 264.1)
XYZxyz(23.6627, 20.9442, 74.7324)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7AE2 #E2B44C
analogous
#4CC5E2 #4C7AE2 #694CE2
triadic
#4C7AE2 #E24C7A #7AE24C
tetradic
#4C7AE2 #E24CC5 #E2B44C #4CE269
square
#4C7AE2 #E24CC5 #E2B44C #4CE269
split-complementary
#4C7AE2 #E2694C #C5E24C
monochromatic
#19419B #2257CF #4C7AE2 #81A1EB #B5C8F3

Accessibility & contrast

On white

4.05
#4C7AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4C7AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7AE2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7AE2#FFFFFF#000000##000000
##4C7AE21.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4586E6
Deuteranopia (green-blind)
#2778E0
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7ae2;
/* rgb */ color: rgb(76, 122, 226);
/* oklch */ color: oklch(60.0% 0.166 264.1);
Tailwind
colors: {
  custom: {
    50: '#8d9fec',
    500: '#4c7ae2',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ae2;
$custom-light: #8d9fec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ae2",
  "rgb": {
    "r": 76,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 221.6,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59989,
    "c": 0.16587,
    "h": 264.1
  },
  "luminance": 0.20947
}

Semantic roles & 50–950 ramp

primary
#4C7AE2
secondary
#E2D0A8
accent
#B739EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C7AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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