#4C7ED6#4C7ED6

#4C7ED6 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.1% C 0.145 H 260.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4C7ED6
RGBrgb(76, 126, 214)
HSLhsl(218, 63%, 57%)
HSVhsv(218, 64%, 84%)
CMYKcmyk(64.5%, 41.1%, 0%, 16.1%)
CIE-LABlab(53.29, 10.99, -50.25)
CIE-LCHlch(53.29, 51.44, 282.34°)
OKLaboklab(60.07% -0.023 -0.1432)
OKLCHoklch(60.07% 0.145 260.9)
XYZxyz(22.5747, 21.3111, 66.5291)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7ED6 #D6A44C
analogous
#4CC3D6 #4C7ED6 #5F4CD6
triadic
#4C7ED6 #D64C7E #7ED64C
tetradic
#4C7ED6 #D64CC3 #D6A44C #4CD65F
square
#4C7ED6 #D64CC3 #D6A44C #4CD65F
split-complementary
#4C7ED6 #D65F4C #C3D64C
monochromatic
#1F4588 #2B5FBA #4C7ED6 #7EA2E1 #B0C6ED

Accessibility & contrast

On white

3.99
#4C7ED6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4C7ED6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7ED6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7ED6#FFFFFF#000000##000000
##4C7ED61.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5686D9
Deuteranopia (green-blind)
#4179D4
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c7ed6;
/* rgb */ color: rgb(76, 126, 214);
/* oklch */ color: oklch(60.1% 0.145 260.9);
Tailwind
colors: {
  custom: {
    50: '#8ba2e3',
    500: '#4c7ed6',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ed6;
$custom-light: #8ba2e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ed6",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 214
  },
  "hsl": {
    "h": 218.261,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60072,
    "c": 0.14503,
    "h": 260.9
  },
  "luminance": 0.21313
}

Semantic roles & 50–950 ramp

primary
#4C7ED6
secondary
#DBC7A3
accent
#AA42E6
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4C7ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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