#4C7DCF#4C7DCF

#4C7DCF is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.4% C 0.137 H 260.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4C7DCF
RGBrgb(76, 125, 207)
HSLhsl(218, 58%, 55%)
HSVhsv(218, 63%, 81%)
CMYKcmyk(63.3%, 39.6%, 0%, 18.8%)
CIE-LABlab(52.63, 9.19, -47.34)
CIE-LCHlch(52.63, 48.22, 280.98°)
OKLaboklab(59.44% -0.0234 -0.1347)
OKLCHoklch(59.44% 0.137 260.1)
XYZxyz(21.5726, 20.7067, 61.8793)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7DCF #CF9E4C
analogous
#4CBFCF #4C7DCF #5C4CCF
triadic
#4C7DCF #CF4C7D #7DCF4C
tetradic
#4C7DCF #CF4CBF #CF9E4C #4CCF5C
square
#4C7DCF #CF4CBF #CF9E4C #4CCF5C
split-complementary
#4C7DCF #CF5C4C #BFCF4C
monochromatic
#22457F #2F5FAF #4C7DCF #7CA0DC #ADC3E9

Accessibility & contrast

On white

4.08
#4C7DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4C7DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7DCF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7DCF#FFFFFF#000000##000000
##4C7DCF1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D2
Deuteranopia (green-blind)
#4678CD
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7dcf;
/* rgb */ color: rgb(76, 125, 207);
/* oklch */ color: oklch(59.4% 0.137 260.1);
Tailwind
colors: {
  custom: {
    50: '#8aa2de',
    500: '#4c7dcf',
    950: '#000000',
  },
}
SCSS
$custom: #4c7dcf;
$custom-light: #8aa2de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7dcf",
  "rgb": {
    "r": 76,
    "g": 125,
    "b": 207
  },
  "hsl": {
    "h": 217.557,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59436,
    "c": 0.13671,
    "h": 260.1
  },
  "luminance": 0.20709
}

Semantic roles & 50–950 ramp

primary
#4C7DCF
secondary
#D7C2A0
accent
#A747E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4C7DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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