#4C7DB2#4C7DB2

#4C7DB2 is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.8% C 0.098 H 251.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4C7DB2
RGBrgb(76, 125, 178)
HSLhsl(211, 40%, 50%)
HSVhsv(211, 57%, 70%)
CMYKcmyk(57.3%, 29.8%, 0%, 30.2%)
CIE-LABlab(51.17, -0.56, -33.04)
CIE-LCHlch(51.17, 33.05, 269.02°)
OKLaboklab(57.82% -0.031 -0.093)
OKLCHoklch(57.82% 0.098 251.6)
XYZxyz(18.3471, 19.4165, 44.8918)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7DB2 #B2814C
analogous
#4CB0B2 #4C7DB2 #4E4CB2
triadic
#4C7DB2 #B24C7D #7DB24C
tetradic
#4C7DB2 #B24CB0 #B2814C #4CB24E
square
#4C7DB2 #B24CB0 #B2814C #4CB24E
split-complementary
#4C7DB2 #B24E4C #B0B24C
monochromatic
#27415C #3A5F87 #4C7DB2 #769CC5 #A1BBD7

Accessibility & contrast

On white

4.30
#4C7DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4C7DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7DB2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7DB2#FFFFFF#000000##000000
##4C7DB21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#677FB4
Deuteranopia (green-blind)
#5A75B1
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4c7db2;
/* rgb */ color: rgb(76, 125, 178);
/* oklch */ color: oklch(57.8% 0.098 251.6);
Tailwind
colors: {
  custom: {
    50: '#86a2c9',
    500: '#4c7db2',
    950: '#000000',
  },
}
SCSS
$custom: #4c7db2;
$custom-light: #86a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7db2",
  "rgb": {
    "r": 76,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 211.176,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57824,
    "c": 0.09801,
    "h": 251.6
  },
  "luminance": 0.19418
}

Semantic roles & 50–950 ramp

primary
#4C7DB2
secondary
#C4AE96
accent
#9658D0
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0F13
muted
#7D7E82

Preview Lab

Preview with #4C7DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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