#4C7DD2#4C7DD2

#4C7DD2 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.6% C 0.141 H 260.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4C7DD2
RGBrgb(76, 125, 210)
HSLhsl(218, 60%, 56%)
HSVhsv(218, 64%, 82%)
CMYKcmyk(63.8%, 40.5%, 0%, 17.6%)
CIE-LABlab(52.79, 10.22, -48.78)
CIE-LCHlch(52.79, 49.84, 281.83°)
OKLaboklab(59.62% -0.0228 -0.1389)
OKLCHoklch(59.62% 0.141 260.7)
XYZxyz(21.9429, 20.8548, 63.8293)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7DD2 #D2A14C
analogous
#4CC0D2 #4C7DD2 #5E4CD2
triadic
#4C7DD2 #D24C7D #7DD24C
tetradic
#4C7DD2 #D24CC0 #D2A14C #4CD25E
square
#4C7DD2 #D24CC0 #D2A14C #4CD25E
split-complementary
#4C7DD2 #D25E4C #C0D24C
monochromatic
#214583 #2D5EB4 #4C7DD2 #7DA1DE #AEC4EB

Accessibility & contrast

On white

4.06
#4C7DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4C7DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7DD2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7DD2#FFFFFF#000000##000000
##4C7DD21.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5785D5
Deuteranopia (green-blind)
#4378D0
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7dd2;
/* rgb */ color: rgb(76, 125, 210);
/* oklch */ color: oklch(59.6% 0.141 260.7);
Tailwind
colors: {
  custom: {
    50: '#8aa2e0',
    500: '#4c7dd2',
    950: '#000000',
  },
}
SCSS
$custom: #4c7dd2;
$custom-light: #8aa2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7dd2",
  "rgb": {
    "r": 76,
    "g": 125,
    "b": 210
  },
  "hsl": {
    "h": 218.06,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59616,
    "c": 0.14076,
    "h": 260.7
  },
  "luminance": 0.20857
}

Semantic roles & 50–950 ramp

primary
#4C7DD2
secondary
#D9C4A1
accent
#A945E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4C7DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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