#4C7FD2#4C7FD2

#4C7FD2 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.0% C 0.139 H 259.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4C7FD2
RGBrgb(76, 127, 210)
HSLhsl(217, 60%, 56%)
HSVhsv(217, 64%, 82%)
CMYKcmyk(63.8%, 39.5%, 0%, 17.6%)
CIE-LABlab(53.35, 9.00, -47.89)
CIE-LCHlch(53.35, 48.73, 280.64°)
OKLaboklab(60.05% -0.0248 -0.1363)
OKLCHoklch(60.05% 0.139 259.7)
XYZxyz(22.1986, 21.3663, 63.9145)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FD2 #D29F4C
analogous
#4CC2D2 #4C7FD2 #5C4CD2
triadic
#4C7FD2 #D24C7F #7FD24C
tetradic
#4C7FD2 #D24CC2 #D29F4C #4CD25C
square
#4C7FD2 #D24CC2 #D29F4C #4CD25C
split-complementary
#4C7FD2 #D25C4C #C2D24C
monochromatic
#214683 #2D60B4 #4C7FD2 #7DA2DE #AEC5EB

Accessibility & contrast

On white

3.98
#4C7FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4C7FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FD2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FD2#FFFFFF#000000##000000
##4C7FD21.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A86D5
Deuteranopia (green-blind)
#477AD0
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c7fd2;
/* rgb */ color: rgb(76, 127, 210);
/* oklch */ color: oklch(60.0% 0.139 259.7);
Tailwind
colors: {
  custom: {
    50: '#8aa3e0',
    500: '#4c7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fd2;
$custom-light: #8aa3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fd2",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 217.164,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60048,
    "c": 0.13852,
    "h": 259.7
  },
  "luminance": 0.21368
}

Semantic roles & 50–950 ramp

primary
#4C7FD2
secondary
#D9C4A1
accent
#A745E3
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4C7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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