#4C7FCF#4C7FCF

#4C7FCF is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.9% C 0.134 H 259.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4C7FCF
RGBrgb(76, 127, 207)
HSLhsl(217, 58%, 55%)
HSVhsv(217, 63%, 81%)
CMYKcmyk(63.3%, 38.6%, 0%, 18.8%)
CIE-LABlab(53.19, 7.97, -46.45)
CIE-LCHlch(53.19, 47.13, 279.74°)
OKLaboklab(59.87% -0.0255 -0.132)
OKLCHoklch(59.87% 0.134 259.1)
XYZxyz(21.8283, 21.2182, 61.9646)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FCF #CF9C4C
analogous
#4CC0CF #4C7FCF #5A4CCF
triadic
#4C7FCF #CF4C7F #7FCF4C
tetradic
#4C7FCF #CF4CC0 #CF9C4C #4CCF5A
square
#4C7FCF #CF4CC0 #CF9C4C #4CCF5A
split-complementary
#4C7FCF #CF5A4C #C0CF4C
monochromatic
#22467F #2F61AF #4C7FCF #7CA2DC #ADC4E9

Accessibility & contrast

On white

4.00
#4C7FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4C7FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FCF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FCF#FFFFFF#000000##000000
##4C7FCF1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C86D2
Deuteranopia (green-blind)
#4979CD
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c7fcf;
/* rgb */ color: rgb(76, 127, 207);
/* oklch */ color: oklch(59.9% 0.134 259.1);
Tailwind
colors: {
  custom: {
    50: '#8aa3de',
    500: '#4c7fcf',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fcf;
$custom-light: #8aa3de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fcf",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 216.641,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59871,
    "c": 0.13449,
    "h": 259.1
  },
  "luminance": 0.2122
}

Semantic roles & 50–950 ramp

primary
#4C7FCF
secondary
#D7C1A0
accent
#A547E1
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4C7FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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