#4C7FE1#4C7FE1

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

Color values

HEX#4C7FE1
RGBrgb(76, 127, 225)
HSLhsl(219, 71%, 59%)
HSVhsv(219, 66%, 88%)
CMYKcmyk(66.2%, 43.6%, 0%, 11.8%)
CIE-LABlab(54.18, 14.19, -55.01)
CIE-LCHlch(54.18, 56.81, 284.47°)
OKLaboklab(60.97% -0.0219 -0.1572)
OKLCHoklch(60.97% 0.159 262.1)
XYZxyz(24.1557, 22.1491, 74.2218)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FE1 #E1AE4C
analogous
#4CCAE1 #4C7FE1 #644CE1
triadic
#4C7FE1 #E14C7F #7FE14C
tetradic
#4C7FE1 #E14CCA #E1AE4C #4CE164
square
#4C7FE1 #E14CCA #E1AE4C #4CE164
split-complementary
#4C7FE1 #E1644C #CAE14C
monochromatic
#1A4599 #225DCD #4C7FE1 #80A4EA #B5CAF3

Accessibility & contrast

On white

3.87
#4C7FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#4C7FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FE1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FE1#FFFFFF#000000##000000
##4C7FE11.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5089E5
Deuteranopia (green-blind)
#377BDF
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4c7fe1;
/* rgb */ color: rgb(76, 127, 225);
/* oklch */ color: oklch(61.0% 0.159 262.1);
Tailwind
colors: {
  custom: {
    50: '#8da3eb',
    500: '#4c7fe1',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fe1;
$custom-light: #8da3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fe1",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 225
  },
  "hsl": {
    "h": 219.463,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60966,
    "c": 0.15867,
    "h": 262.1
  },
  "luminance": 0.22151
}

Semantic roles & 50–950 ramp

primary
#4C7FE1
secondary
#E2CEA7
accent
#B03AEE
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C7FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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