#4C7CE4#4C7CE4

#4C7CE4 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.5% C 0.166 H 263.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4C7CE4
RGBrgb(76, 124, 228)
HSLhsl(221, 74%, 60%)
HSVhsv(221, 67%, 89%)
CMYKcmyk(66.7%, 45.6%, 0%, 10.6%)
CIE-LABlab(53.55, 17.07, -57.71)
CIE-LCHlch(53.55, 60.18, 286.48°)
OKLaboklab(60.53% -0.0186 -0.1651)
OKLCHoklch(60.53% 0.166 263.6)
XYZxyz(24.1868, 21.5509, 76.2688)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7CE4 #E4B44C
analogous
#4CC8E4 #4C7CE4 #684CE4
triadic
#4C7CE4 #E44C7C #7CE44C
tetradic
#4C7CE4 #E44CC8 #E4B44C #4CE468
square
#4C7CE4 #E44CC8 #E4B44C #4CE468
split-complementary
#4C7CE4 #E4684C #C8E44C
monochromatic
#18429E #2058D3 #4C7CE4 #81A3EC #B6CAF4

Accessibility & contrast

On white

3.95
#4C7CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4C7CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7CE4
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7CE4#FFFFFF#000000##000000
##4C7CE41.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4887E8
Deuteranopia (green-blind)
#2A79E2
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c7ce4;
/* rgb */ color: rgb(76, 124, 228);
/* oklch */ color: oklch(60.5% 0.166 263.6);
Tailwind
colors: {
  custom: {
    50: '#8da1ed',
    500: '#4c7ce4',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ce4;
$custom-light: #8da1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ce4",
  "rgb": {
    "r": 76,
    "g": 124,
    "b": 228
  },
  "hsl": {
    "h": 221.053,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60532,
    "c": 0.16619,
    "h": 263.6
  },
  "luminance": 0.21553
}

Semantic roles & 50–950 ramp

primary
#4C7CE4
secondary
#E3D1A8
accent
#B637F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4C7CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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