#4C7EDD#4C7EDD

#4C7EDD is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.5% C 0.154 H 261.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4C7EDD
RGBrgb(76, 126, 221)
HSLhsl(219, 68%, 58%)
HSVhsv(219, 66%, 87%)
CMYKcmyk(65.6%, 43%, 0%, 13.3%)
CIE-LABlab(53.68, 13.41, -53.57)
CIE-LCHlch(53.68, 55.22, 284.06°)
OKLaboklab(60.5% -0.0216 -0.1529)
OKLCHoklch(60.5% 0.154 261.9)
XYZxyz(23.4879, 21.6764, 71.3387)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7EDD #DDAB4C
analogous
#4CC7DD #4C7EDD #624CDD
triadic
#4C7EDD #DD4C7E #7EDD4C
tetradic
#4C7EDD #DD4CC7 #DDAB4C #4CDD62
square
#4C7EDD #DD4CC7 #DDAB4C #4CDD62
split-complementary
#4C7EDD #DD624C #C7DD4C
monochromatic
#1C4593 #265DC6 #4C7EDD #7FA3E7 #B3C8F1

Accessibility & contrast

On white

3.94
#4C7EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#4C7EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7EDD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7EDD#FFFFFF#000000##000000
##4C7EDD1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E1
Deuteranopia (green-blind)
#397ADB
Tritanopia (blue-blind)
#0094A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c7edd;
/* rgb */ color: rgb(76, 126, 221);
/* oklch */ color: oklch(60.5% 0.154 261.9);
Tailwind
colors: {
  custom: {
    50: '#8ca2e8',
    500: '#4c7edd',
    950: '#000000',
  },
}
SCSS
$custom: #4c7edd;
$custom-light: #8ca2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7edd",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 221
  },
  "hsl": {
    "h": 219.31,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60504,
    "c": 0.15445,
    "h": 261.9
  },
  "luminance": 0.21679
}

Semantic roles & 50–950 ramp

primary
#4C7EDD
secondary
#DFCBA6
accent
#AF3DEB
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4C7EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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