#4C7FE4#4C7FE4

#4C7FE4 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.2% C 0.163 H 262.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4C7FE4
RGBrgb(76, 127, 228)
HSLhsl(220, 74%, 60%)
HSVhsv(220, 67%, 89%)
CMYKcmyk(66.7%, 44.3%, 0%, 10.6%)
CIE-LABlab(54.36, 15.23, -56.41)
CIE-LCHlch(54.36, 58.43, 285.11°)
OKLaboklab(61.16% -0.0214 -0.1613)
OKLCHoklch(61.16% 0.163 262.5)
XYZxyz(24.5685, 22.3143, 76.3961)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FE4 #E4B14C
analogous
#4CCBE4 #4C7FE4 #654CE4
triadic
#4C7FE4 #E44C7F #7FE44C
tetradic
#4C7FE4 #E44CCB #E4B14C #4CE465
square
#4C7FE4 #E44CCB #E4B14C #4CE465
split-complementary
#4C7FE4 #E4654C #CBE44C
monochromatic
#18459E #205CD3 #4C7FE4 #81A5EC #B6CBF4

Accessibility & contrast

On white

3.84
#4C7FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4C7FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FE4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FE4#FFFFFF#000000##000000
##4C7FE41.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E89E8
Deuteranopia (green-blind)
#327BE2
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4c7fe4;
/* rgb */ color: rgb(76, 127, 228);
/* oklch */ color: oklch(61.2% 0.163 262.5);
Tailwind
colors: {
  custom: {
    50: '#8da3ed',
    500: '#4c7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fe4;
$custom-light: #8da3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fe4",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 219.868,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61156,
    "c": 0.16269,
    "h": 262.5
  },
  "luminance": 0.22317
}

Semantic roles & 50–950 ramp

primary
#4C7FE4
secondary
#E3D0A8
accent
#B237F0
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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