#4C7EE1#4C7EE1

#4C7EE1 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.8% C 0.160 H 262.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4C7EE1
RGBrgb(76, 126, 225)
HSLhsl(220, 71%, 59%)
HSVhsv(220, 66%, 88%)
CMYKcmyk(66.2%, 44%, 0%, 11.8%)
CIE-LABlab(53.91, 14.80, -55.44)
CIE-LCHlch(53.91, 57.39, 284.95°)
OKLaboklab(60.76% -0.0209 -0.1584)
OKLCHoklch(60.76% 0.16 262.5)
XYZxyz(24.0272, 21.8921, 74.1789)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7EE1 #E1AF4C
analogous
#4CC9E1 #4C7EE1 #654CE1
triadic
#4C7EE1 #E14C7E #7EE14C
tetradic
#4C7EE1 #E14CC9 #E1AF4C #4CE165
square
#4C7EE1 #E14CC9 #E1AF4C #4CE165
split-complementary
#4C7EE1 #E1654C #C9E14C
monochromatic
#1A4499 #225CCD #4C7EE1 #80A4EA #B5CAF3

Accessibility & contrast

On white

3.90
#4C7EE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#4C7EE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7EE1
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7EE1#FFFFFF#000000##000000
##4C7EE11.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E88E5
Deuteranopia (green-blind)
#347ADF
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c7ee1;
/* rgb */ color: rgb(76, 126, 225);
/* oklch */ color: oklch(60.8% 0.160 262.5);
Tailwind
colors: {
  custom: {
    50: '#8da2eb',
    500: '#4c7ee1',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ee1;
$custom-light: #8da2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ee1",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 225
  },
  "hsl": {
    "h": 219.866,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60756,
    "c": 0.15983,
    "h": 262.5
  },
  "luminance": 0.21894
}

Semantic roles & 50–950 ramp

primary
#4C7EE1
secondary
#E2CEA7
accent
#B23AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4C7EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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