#4C7ED9#4C7ED9

#4C7ED9 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.3% C 0.149 H 261.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4C7ED9
RGBrgb(76, 126, 217)
HSLhsl(219, 65%, 57%)
HSVhsv(219, 65%, 85%)
CMYKcmyk(65%, 41.9%, 0%, 14.9%)
CIE-LABlab(53.46, 12.03, -51.68)
CIE-LCHlch(53.46, 53.06, 283.10°)
OKLaboklab(60.26% -0.0224 -0.1474)
OKLCHoklch(60.26% 0.149 261.4)
XYZxyz(22.9613, 21.4658, 68.5654)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7ED9 #D9A74C
analogous
#4CC5D9 #4C7ED9 #604CD9
triadic
#4C7ED9 #D94C7E #7ED94C
tetradic
#4C7ED9 #D94CC5 #D9A74C #4CD960
square
#4C7ED9 #D94CC5 #D9A74C #4CD960
split-complementary
#4C7ED9 #D9604C #C5D94C
monochromatic
#1E458D #295EBF #4C7ED9 #7EA2E4 #B1C7EE

Accessibility & contrast

On white

3.97
#4C7ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4C7ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7ED9
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7ED9#FFFFFF#000000##000000
##4C7ED91.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5487DD
Deuteranopia (green-blind)
#3E7AD7
Tritanopia (blue-blind)
#0093A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c7ed9;
/* rgb */ color: rgb(76, 126, 217);
/* oklch */ color: oklch(60.3% 0.149 261.4);
Tailwind
colors: {
  custom: {
    50: '#8ca2e5',
    500: '#4c7ed9',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ed9;
$custom-light: #8ca2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ed9",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 217
  },
  "hsl": {
    "h": 218.723,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.14907,
    "h": 261.4
  },
  "luminance": 0.21468
}

Semantic roles & 50–950 ramp

primary
#4C7ED9
secondary
#DDC9A4
accent
#AC40E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4C7ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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