#4C7EED#4C7EED

#4C7EED is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.5% C 0.176 H 263.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4C7EED
RGBrgb(76, 126, 237)
HSLhsl(221, 82%, 61%)
HSVhsv(221, 68%, 93%)
CMYKcmyk(67.9%, 46.8%, 0%, 7.1%)
CIE-LABlab(54.63, 18.99, -61.01)
CIE-LCHlch(54.63, 63.89, 287.29°)
OKLaboklab(61.53% -0.019 -0.1748)
OKLCHoklch(61.53% 0.176 263.8)
XYZxyz(25.7220, 22.5700, 83.1052)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7EED #EDBB4C
analogous
#4CCFED #4C7EED #6B4CED
triadic
#4C7EED #ED4C7E #7EED4C
tetradic
#4C7EED #ED4CCF #EDBB4C #4CED6B
square
#4C7EED #ED4CCF #EDBB4C #4CED6B
split-complementary
#4C7EED #ED6B4C #CFED4C
monochromatic
#1142AD #1757E5 #4C7EED #84A6F3 #BBCEF8

Accessibility & contrast

On white

3.81
#4C7EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#4C7EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7EED
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7EED#FFFFFF#000000##000000
##4C7EED1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#448BF1
Deuteranopia (green-blind)
#1E7CEB
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4c7eed;
/* rgb */ color: rgb(76, 126, 237);
/* oklch */ color: oklch(61.5% 0.176 263.8);
Tailwind
colors: {
  custom: {
    50: '#8fa2f3',
    500: '#4c7eed',
    950: '#000000',
  },
}
SCSS
$custom: #4c7eed;
$custom-light: #8fa2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7eed",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 237
  },
  "hsl": {
    "h": 221.366,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61534,
    "c": 0.17584,
    "h": 263.8
  },
  "luminance": 0.22573
}

Semantic roles & 50–950 ramp

primary
#4C7EED
secondary
#E8D6AC
accent
#9B07DE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4C7EED

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

Preview Lab → · Contrast checker → · Palette generator →

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