#4C7FE0#4C7FE0

#4C7FE0 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.9% C 0.157 H 261.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4C7FE0
RGBrgb(76, 127, 224)
HSLhsl(219, 70%, 59%)
HSVhsv(219, 66%, 88%)
CMYKcmyk(66.1%, 43.3%, 0%, 12.2%)
CIE-LABlab(54.13, 13.84, -54.54)
CIE-LCHlch(54.13, 56.27, 284.24°)
OKLaboklab(60.9% -0.022 -0.1558)
OKLCHoklch(60.9% 0.157 261.9)
XYZxyz(24.0197, 22.0947, 73.5054)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FE0 #E0AD4C
analogous
#4CC9E0 #4C7FE0 #634CE0
triadic
#4C7FE0 #E04C7F #7FE04C
tetradic
#4C7FE0 #E04CC9 #E0AD4C #4CE063
square
#4C7FE0 #E04CC9 #E0AD4C #4CE063
split-complementary
#4C7FE0 #E0634C #C9E04C
monochromatic
#1A4597 #235DCC #4C7FE0 #80A4E9 #B4CAF2

Accessibility & contrast

On white

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

On black

5.42
#4C7FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FE0
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FE0#FFFFFF#000000##000000
##4C7FE01.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5189E4
Deuteranopia (green-blind)
#387BDE
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c7fe0;
/* rgb */ color: rgb(76, 127, 224);
/* oklch */ color: oklch(60.9% 0.157 261.9);
Tailwind
colors: {
  custom: {
    50: '#8da3ea',
    500: '#4c7fe0',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fe0;
$custom-light: #8da3ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fe0",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 224
  },
  "hsl": {
    "h": 219.324,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60903,
    "c": 0.15733,
    "h": 261.9
  },
  "luminance": 0.22097
}

Semantic roles & 50–950 ramp

primary
#4C7FE0
secondary
#E1CDA7
accent
#B03BED
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C7FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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