#4C7CD6#4C7CD6

#4C7CD6 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.6% C 0.147 H 261.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4C7CD6
RGBrgb(76, 124, 214)
HSLhsl(219, 63%, 57%)
HSVhsv(219, 64%, 84%)
CMYKcmyk(64.5%, 42.1%, 0%, 16.1%)
CIE-LABlab(52.74, 12.21, -51.13)
CIE-LCHlch(52.74, 52.57, 283.43°)
OKLaboklab(59.65% -0.021 -0.1458)
OKLCHoklch(59.65% 0.147 261.8)
XYZxyz(22.3215, 20.8047, 66.4447)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7CD6 #D6A64C
analogous
#4CC1D6 #4C7CD6 #614CD6
triadic
#4C7CD6 #D64C7C #7CD64C
tetradic
#4C7CD6 #D64CC1 #D6A64C #4CD661
square
#4C7CD6 #D64CC1 #D6A64C #4CD661
split-complementary
#4C7CD6 #D6614C #C1D64C
monochromatic
#1F4488 #2B5DBA #4C7CD6 #7EA0E1 #B0C5ED

Accessibility & contrast

On white

4.07
#4C7CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4C7CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7CD6
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7CD6#FFFFFF#000000##000000
##4C7CD61.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5285D9
Deuteranopia (green-blind)
#3D78D4
Tritanopia (blue-blind)
#00919E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7cd6;
/* rgb */ color: rgb(76, 124, 214);
/* oklch */ color: oklch(59.6% 0.147 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ba1e3',
    500: '#4c7cd6',
    950: '#000000',
  },
}
SCSS
$custom: #4c7cd6;
$custom-light: #8ba1e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7cd6",
  "rgb": {
    "r": 76,
    "g": 124,
    "b": 214
  },
  "hsl": {
    "h": 219.13,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59645,
    "c": 0.14732,
    "h": 261.8
  },
  "luminance": 0.20807
}

Semantic roles & 50–950 ramp

primary
#4C7CD6
secondary
#DBC7A3
accent
#AD42E6
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4C7CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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