#4C7DCA#4C7DCA

#4C7DCA is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.1% C 0.130 H 259.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4C7DCA
RGBrgb(76, 125, 202)
HSLhsl(217, 54%, 55%)
HSVhsv(217, 62%, 79%)
CMYKcmyk(62.4%, 38.1%, 0%, 20.8%)
CIE-LABlab(52.36, 7.48, -44.92)
CIE-LCHlch(52.36, 45.54, 279.45°)
OKLaboklab(59.14% -0.0246 -0.1276)
OKLCHoklch(59.14% 0.13 259.1)
XYZxyz(20.9710, 20.4661, 58.7109)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7DCA #CA994C
analogous
#4CBCCA #4C7DCA #5A4CCA
triadic
#4C7DCA #CA4C7D #7DCA4C
tetradic
#4C7DCA #CA4CBC #CA994C #4CCA5A
square
#4C7DCA #CA4CBC #CA994C #4CCA5A
split-complementary
#4C7DCA #CA5A4C #BCCA4C
monochromatic
#244478 #325FA7 #4C7DCA #7B9FD8 #AAC2E6

Accessibility & contrast

On white

4.12
#4C7DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4C7DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7DCA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7DCA#FFFFFF#000000##000000
##4C7DCA1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CD
Deuteranopia (green-blind)
#4A78C8
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c7dca;
/* rgb */ color: rgb(76, 125, 202);
/* oklch */ color: oklch(59.1% 0.130 259.1);
Tailwind
colors: {
  custom: {
    50: '#89a2da',
    500: '#4c7dca',
    950: '#000000',
  },
}
SCSS
$custom: #4c7dca;
$custom-light: #89a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7dca",
  "rgb": {
    "r": 76,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 216.667,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59142,
    "c": 0.12994,
    "h": 259.1
  },
  "luminance": 0.20468
}

Semantic roles & 50–950 ramp

primary
#4C7DCA
secondary
#D4BF9E
accent
#A44ADE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0F15
muted
#7D7E83

Preview Lab

Preview with #4C7DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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