#4C7FCA#4C7FCA

#4C7FCA is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.6% C 0.128 H 258.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4C7FCA
RGBrgb(76, 127, 202)
HSLhsl(216, 54%, 55%)
HSVhsv(216, 62%, 79%)
CMYKcmyk(62.4%, 37.1%, 0%, 20.8%)
CIE-LABlab(52.92, 6.27, -44.03)
CIE-LCHlch(52.92, 44.47, 278.10°)
OKLaboklab(59.58% -0.0266 -0.125)
OKLCHoklch(59.58% 0.128 258)
XYZxyz(21.2267, 20.9775, 58.7961)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FCA #CA974C
analogous
#4CBECA #4C7FCA #584CCA
triadic
#4C7FCA #CA4C7F #7FCA4C
tetradic
#4C7FCA #CA4CBE #CA974C #4CCA58
square
#4C7FCA #CA4CBE #CA974C #4CCA58
split-complementary
#4C7FCA #CA584C #BECA4C
monochromatic
#244678 #3261A7 #4C7FCA #7BA1D8 #AAC3E6

Accessibility & contrast

On white

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

On black

5.20
#4C7FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FCA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FCA#FFFFFF#000000##000000
##4C7FCA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#4D79C8
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7fca;
/* rgb */ color: rgb(76, 127, 202);
/* oklch */ color: oklch(59.6% 0.128 258.0);
Tailwind
colors: {
  custom: {
    50: '#89a3da',
    500: '#4c7fca',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fca;
$custom-light: #89a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fca",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 215.714,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59581,
    "c": 0.12777,
    "h": 258
  },
  "luminance": 0.2098
}

Semantic roles & 50–950 ramp

primary
#4C7FCA
secondary
#D4BE9E
accent
#A24ADE
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4C7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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