#4C7BB2#4C7BB2

#4C7BB2 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.4% C 0.100 H 253.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4C7BB2
RGBrgb(76, 123, 178)
HSLhsl(212, 40%, 50%)
HSVhsv(212, 57%, 70%)
CMYKcmyk(57.3%, 30.9%, 0%, 30.2%)
CIE-LABlab(50.59, 0.63, -33.96)
CIE-LCHlch(50.59, 33.96, 271.06°)
OKLaboklab(57.37% -0.0287 -0.0956)
OKLCHoklch(57.37% 0.1 253.3)
XYZxyz(18.0965, 18.9152, 44.8082)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7BB2 #B2834C
analogous
#4CAEB2 #4C7BB2 #504CB2
triadic
#4C7BB2 #B24C7B #7BB24C
tetradic
#4C7BB2 #B24CAE #B2834C #4CB250
square
#4C7BB2 #B24CAE #B2834C #4CB250
split-complementary
#4C7BB2 #B2504C #AEB24C
monochromatic
#27405C #3A5D87 #4C7BB2 #769BC5 #A1BAD7

Accessibility & contrast

On white

4.39
#4C7BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4C7BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7BB2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7BB2#FFFFFF#000000##000000
##4C7BB21.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB4
Deuteranopia (green-blind)
#5774B1
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4c7bb2;
/* rgb */ color: rgb(76, 123, 178);
/* oklch */ color: oklch(57.4% 0.100 253.3);
Tailwind
colors: {
  custom: {
    50: '#86a0c9',
    500: '#4c7bb2',
    950: '#000000',
  },
}
SCSS
$custom: #4c7bb2;
$custom-light: #86a0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7bb2",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 212.353,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57367,
    "c": 0.09985,
    "h": 253.3
  },
  "luminance": 0.18917
}

Semantic roles & 50–950 ramp

primary
#4C7BB2
secondary
#C4AF96
accent
#9958D0
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4C7BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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