#4C7ECF#4C7ECF

#4C7ECF is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.7% C 0.136 H 259.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4C7ECF
RGBrgb(76, 126, 207)
HSLhsl(217, 58%, 55%)
HSVhsv(217, 63%, 81%)
CMYKcmyk(63.3%, 39.1%, 0%, 18.8%)
CIE-LABlab(52.91, 8.58, -46.90)
CIE-LCHlch(52.91, 47.67, 280.37°)
OKLaboklab(59.65% -0.0245 -0.1334)
OKLCHoklch(59.65% 0.136 259.6)
XYZxyz(21.6998, 20.9612, 61.9217)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7ECF #CF9D4C
analogous
#4CC0CF #4C7ECF #5B4CCF
triadic
#4C7ECF #CF4C7E #7ECF4C
tetradic
#4C7ECF #CF4CC0 #CF9D4C #4CCF5B
square
#4C7ECF #CF4CC0 #CF9D4C #4CCF5B
split-complementary
#4C7ECF #CF5B4C #C0CF4C
monochromatic
#22457F #2F60AF #4C7ECF #7CA1DC #ADC4E9

Accessibility & contrast

On white

4.04
#4C7ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4C7ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7ECF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7ECF#FFFFFF#000000##000000
##4C7ECF1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A85D2
Deuteranopia (green-blind)
#4779CD
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7ecf;
/* rgb */ color: rgb(76, 126, 207);
/* oklch */ color: oklch(59.7% 0.136 259.6);
Tailwind
colors: {
  custom: {
    50: '#8aa2de',
    500: '#4c7ecf',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ecf;
$custom-light: #8aa2de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ecf",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 217.099,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59653,
    "c": 0.13559,
    "h": 259.6
  },
  "luminance": 0.20963
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C7ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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