#4C7FCE#4C7FCE

#4C7FCE is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.8% C 0.133 H 258.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4C7FCE
RGBrgb(76, 127, 206)
HSLhsl(216, 57%, 55%)
HSVhsv(216, 63%, 81%)
CMYKcmyk(63.1%, 38.3%, 0%, 19.2%)
CIE-LABlab(53.13, 7.63, -45.97)
CIE-LCHlch(53.13, 46.60, 279.43°)
OKLaboklab(59.81% -0.0257 -0.1306)
OKLCHoklch(59.81% 0.133 258.9)
XYZxyz(21.7065, 21.1694, 61.3227)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FCE #CE9B4C
analogous
#4CC0CE #4C7FCE #5A4CCE
triadic
#4C7FCE #CE4C7F #7FCE4C
tetradic
#4C7FCE #CE4CC0 #CE9B4C #4CCE5A
square
#4C7FCE #CE4CC0 #CE9B4C #4CCE5A
split-complementary
#4C7FCE #CE5A4C #C0CE4C
monochromatic
#22467D #2F61AD #4C7FCE #7CA1DB #ACC4E8

Accessibility & contrast

On white

4.01
#4C7FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4C7FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FCE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FCE#FFFFFF#000000##000000
##4C7FCE1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D1
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c7fce;
/* rgb */ color: rgb(76, 127, 206);
/* oklch */ color: oklch(59.8% 0.133 258.9);
Tailwind
colors: {
  custom: {
    50: '#8aa3dd',
    500: '#4c7fce',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fce;
$custom-light: #8aa3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fce",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 216.462,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59812,
    "c": 0.13314,
    "h": 258.9
  },
  "luminance": 0.21171
}

Semantic roles & 50–950 ramp

primary
#4C7FCE
secondary
#D6C1A0
accent
#A448E0
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4C7FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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