#4C7FC9#4C7FC9

#4C7FC9 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.5% C 0.126 H 257.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4C7FC9
RGBrgb(76, 127, 201)
HSLhsl(216, 54%, 54%)
HSVhsv(216, 62%, 79%)
CMYKcmyk(62.2%, 36.8%, 0%, 21.2%)
CIE-LABlab(52.87, 5.92, -43.54)
CIE-LCHlch(52.87, 43.94, 277.75°)
OKLaboklab(59.52% -0.0269 -0.1235)
OKLCHoklch(59.52% 0.126 257.7)
XYZxyz(21.1087, 20.9303, 58.1746)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FC9 #C9964C
analogous
#4CBEC9 #4C7FC9 #584CC9
triadic
#4C7FC9 #C94C7F #7FC94C
tetradic
#4C7FC9 #C94CBE #C9964C #4CC958
square
#4C7FC9 #C94CBE #C9964C #4CC958
split-complementary
#4C7FC9 #C9584C #BEC94C
monochromatic
#244677 #3261A6 #4C7FC9 #7BA1D7 #AAC2E5

Accessibility & contrast

On white

4.05
#4C7FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C7FC9#FFFFFF#000000##000000
##4C7FC91.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CC
Deuteranopia (green-blind)
#4E79C7
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7fc9;
/* rgb */ color: rgb(76, 127, 201);
/* oklch */ color: oklch(59.5% 0.126 257.7);
Tailwind
colors: {
  custom: {
    50: '#89a3da',
    500: '#4c7fc9',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fc9;
$custom-light: #89a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fc9",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 201
  },
  "hsl": {
    "h": 215.52,
    "s": 53.648,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59524,
    "c": 0.12643,
    "h": 257.7
  },
  "luminance": 0.20932
}

Semantic roles & 50–950 ramp

primary
#4C7FC9
secondary
#D3BD9E
accent
#A14BDD
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4C7FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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