#4C7FE7#4C7FE7

#4C7FE7 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.3% C 0.167 H 262.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4C7FE7
RGBrgb(76, 127, 231)
HSLhsl(220, 76%, 60%)
HSVhsv(220, 67%, 91%)
CMYKcmyk(67.1%, 45%, 0%, 9.4%)
CIE-LABlab(54.53, 16.28, -57.81)
CIE-LCHlch(54.53, 60.05, 285.73°)
OKLaboklab(61.35% -0.0209 -0.1654)
OKLCHoklch(61.35% 0.167 262.8)
XYZxyz(24.9886, 22.4823, 78.6084)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FE7 #E7B44C
analogous
#4CCDE7 #4C7FE7 #664CE7
triadic
#4C7FE7 #E74C7F #7FE74C
tetradic
#4C7FE7 #E74CCD #E7B44C #4CE766
square
#4C7FE7 #E74CCD #E7B44C #4CE766
split-complementary
#4C7FE7 #E7664C #CDE74C
monochromatic
#1644A3 #1D5BD9 #4C7FE7 #82A6EE #B8CCF5

Accessibility & contrast

On white

3.82
#4C7FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#4C7FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FE7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FE7#FFFFFF#000000##000000
##4C7FE71.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8AEB
Deuteranopia (green-blind)
#2E7CE5
Tritanopia (blue-blind)
#0097A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4c7fe7;
/* rgb */ color: rgb(76, 127, 231);
/* oklch */ color: oklch(61.3% 0.167 262.8);
Tailwind
colors: {
  custom: {
    50: '#8ea3ef',
    500: '#4c7fe7',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fe7;
$custom-light: #8ea3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fe7",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 220.258,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61348,
    "c": 0.16669,
    "h": 262.8
  },
  "luminance": 0.22485
}

Semantic roles & 50–950 ramp

primary
#4C7FE7
secondary
#E5D2AA
accent
#960DD9
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4C7FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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