#4C7FAC#4C7FAC

#4C7FAC is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 58.0% C 0.089 H 246.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4C7FAC
RGBrgb(76, 127, 172)
HSLhsl(208, 39%, 49%)
HSVhsv(208, 56%, 67%)
CMYKcmyk(55.8%, 26.2%, 0%, 32.5%)
CIE-LABlab(51.49, -3.69, -29.08)
CIE-LCHlch(51.49, 29.32, 262.77°)
OKLaboklab(57.98% -0.0352 -0.0815)
OKLCHoklch(57.98% 0.089 246.7)
XYZxyz(18.0136, 19.6923, 41.8734)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FAC #AC794C
analogous
#4CACA9 #4C7FAC #4C4FAC
triadic
#4C7FAC #AC4C7F #7FAC4C
tetradic
#4C7FAC #A94CAC #AC794C #4FAC4C
square
#4C7FAC #A94CAC #AC794C #4FAC4C
split-complementary
#4C7FAC #AC4C4F #ACA94C
monochromatic
#264057 #396082 #4C7FAC #749DC1 #9EBBD4

Accessibility & contrast

On white

4.25
#4C7FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4C7FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FAC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FAC#FFFFFF#000000##000000
##4C7FAC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C80AE
Deuteranopia (green-blind)
#5F76AB
Tritanopia (blue-blind)
#028A8E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c7fac;
/* rgb */ color: rgb(76, 127, 172);
/* oklch */ color: oklch(58.0% 0.089 246.7);
Tailwind
colors: {
  custom: {
    50: '#85a4c5',
    500: '#4c7fac',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fac;
$custom-light: #85a4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fac",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 208.125,
    "s": 38.71,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57984,
    "c": 0.08879,
    "h": 246.7
  },
  "luminance": 0.19694
}

Semantic roles & 50–950 ramp

primary
#4C7FAC
secondary
#C1A893
accent
#9059CF
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #4C7FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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