#4C7FE2#4C7FE2

#4C7FE2 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.0% C 0.160 H 262.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4C7FE2
RGBrgb(76, 127, 226)
HSLhsl(220, 72%, 59%)
HSVhsv(220, 66%, 89%)
CMYKcmyk(66.4%, 43.8%, 0%, 11.4%)
CIE-LABlab(54.24, 14.54, -55.48)
CIE-LCHlch(54.24, 57.35, 284.69°)
OKLaboklab(61.03% -0.0217 -0.1585)
OKLCHoklch(61.03% 0.16 262.2)
XYZxyz(24.2925, 22.2038, 74.9423)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FE2 #E2AF4C
analogous
#4CCAE2 #4C7FE2 #644CE2
triadic
#4C7FE2 #E24C7F #7FE24C
tetradic
#4C7FE2 #E24CCA #E2AF4C #4CE264
square
#4C7FE2 #E24CCA #E2AF4C #4CE264
split-complementary
#4C7FE2 #E2644C #CAE24C
monochromatic
#19459B #225DCF #4C7FE2 #81A5EB #B5CAF3

Accessibility & contrast

On white

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

On black

5.44
#4C7FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FE2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FE2#FFFFFF#000000##000000
##4C7FE21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F89E6
Deuteranopia (green-blind)
#357BE0
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4c7fe2;
/* rgb */ color: rgb(76, 127, 226);
/* oklch */ color: oklch(61.0% 0.160 262.2);
Tailwind
colors: {
  custom: {
    50: '#8da3ec',
    500: '#4c7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fe2;
$custom-light: #8da3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fe2",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 219.6,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61029,
    "c": 0.16001,
    "h": 262.2
  },
  "luminance": 0.22206
}

Semantic roles & 50–950 ramp

primary
#4C7FE2
secondary
#E2CEA8
accent
#B139EF
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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