#4C7CC2#4C7CC2

#4C7CC2 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.5% C 0.120 H 257.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4C7CC2
RGBrgb(76, 124, 194)
HSLhsl(216, 49%, 53%)
HSVhsv(216, 61%, 76%)
CMYKcmyk(60.8%, 36.1%, 0%, 23.9%)
CIE-LABlab(51.66, 5.36, -41.47)
CIE-LCHlch(51.66, 41.81, 277.37°)
OKLaboklab(58.46% -0.0254 -0.1175)
OKLCHoklch(58.46% 0.12 257.8)
XYZxyz(19.9223, 19.8451, 53.8091)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7CC2 #C2924C
analogous
#4CB7C2 #4C7CC2 #574CC2
triadic
#4C7CC2 #C24C7C #7CC24C
tetradic
#4C7CC2 #C24CB7 #C2924C #4CC257
square
#4C7CC2 #C24CB7 #C2924C #4CC257
split-complementary
#4C7CC2 #C2574C #B7C24C
monochromatic
#26436E #355F9C #4C7CC2 #7A9DD2 #A7BFE1

Accessibility & contrast

On white

4.23
#4C7CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4C7CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7CC2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7CC2#FFFFFF#000000##000000
##4C7CC21.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E81C5
Deuteranopia (green-blind)
#4E76C1
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c7cc2;
/* rgb */ color: rgb(76, 124, 194);
/* oklch */ color: oklch(58.5% 0.120 257.8);
Tailwind
colors: {
  custom: {
    50: '#88a1d5',
    500: '#4c7cc2',
    950: '#000000',
  },
}
SCSS
$custom: #4c7cc2;
$custom-light: #88a1d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7cc2",
  "rgb": {
    "r": 76,
    "g": 124,
    "b": 194
  },
  "hsl": {
    "h": 215.593,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58463,
    "c": 0.12022,
    "h": 257.8
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

primary
#4C7CC2
secondary
#CEBA9B
accent
#A14FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4C7CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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