#4C7FB2#4C7FB2

#4C7FB2 is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 58.3% C 0.096 H 249.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4C7FB2
RGBrgb(76, 127, 178)
HSLhsl(210, 40%, 50%)
HSVhsv(210, 57%, 70%)
CMYKcmyk(57.3%, 28.7%, 0%, 30.2%)
CIE-LABlab(51.76, -1.75, -32.13)
CIE-LCHlch(51.76, 32.18, 266.89°)
OKLaboklab(58.28% -0.0332 -0.0903)
OKLCHoklch(58.28% 0.096 249.8)
XYZxyz(18.6029, 19.9280, 44.9770)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FB2 #B27F4C
analogous
#4CB2B2 #4C7FB2 #4C4CB2
triadic
#4C7FB2 #B24C7F #7FB24C
tetradic
#4C7FB2 #B24CB2 #B27F4C #4CB24C
square
#4C7FB2 #B24CB2 #B27F4C #4CB24C
split-complementary
#4C7FB2 #B24C4C #B2B24C
monochromatic
#27425C #3A6087 #4C7FB2 #769EC5 #A1BCD7

Accessibility & contrast

On white

4.21
#4C7FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4C7FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7FB2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7FB2#FFFFFF#000000##000000
##4C7FB21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B4
Deuteranopia (green-blind)
#5C77B1
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c7fb2;
/* rgb */ color: rgb(76, 127, 178);
/* oklch */ color: oklch(58.3% 0.096 249.8);
Tailwind
colors: {
  custom: {
    50: '#86a3c9',
    500: '#4c7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fb2;
$custom-light: #86a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fb2",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 210,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58283,
    "c": 0.09626,
    "h": 249.8
  },
  "luminance": 0.1993
}

Semantic roles & 50–950 ramp

primary
#4C7FB2
secondary
#C4AD96
accent
#9458D0
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4C7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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