#4C7DB5#4C7DB5

#4C7DB5 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 58.0% C 0.102 H 252.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4C7DB5
RGBrgb(76, 125, 181)
HSLhsl(212, 42%, 50%)
HSVhsv(212, 58%, 71%)
CMYKcmyk(58%, 30.9%, 0%, 29%)
CIE-LABlab(51.31, 0.42, -34.55)
CIE-LCHlch(51.31, 34.56, 270.70°)
OKLaboklab(57.98% -0.0301 -0.0974)
OKLCHoklch(57.98% 0.102 252.8)
XYZxyz(18.6516, 19.5383, 46.4955)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7DB5 #B5844C
analogous
#4CB1B5 #4C7DB5 #4F4CB5
triadic
#4C7DB5 #B54C7D #7DB54C
tetradic
#4C7DB5 #B54CB1 #B5844C #4CB54F
square
#4C7DB5 #B54CB1 #B5844C #4CB54F
split-complementary
#4C7DB5 #B54F4C #B1B54C
monochromatic
#27415F #395F8B #4C7DB5 #779CC7 #A3BCD9

Accessibility & contrast

On white

4.28
#4C7DB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4C7DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7DB5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7DB5#FFFFFF#000000##000000
##4C7DB51.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B7
Deuteranopia (green-blind)
#5876B4
Tritanopia (blue-blind)
#008A91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4c7db5;
/* rgb */ color: rgb(76, 125, 181);
/* oklch */ color: oklch(58.0% 0.102 252.8);
Tailwind
colors: {
  custom: {
    50: '#86a2cb',
    500: '#4c7db5',
    950: '#000000',
  },
}
SCSS
$custom: #4c7db5;
$custom-light: #86a2cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7db5",
  "rgb": {
    "r": 76,
    "g": 125,
    "b": 181
  },
  "hsl": {
    "h": 212,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5798,
    "c": 0.1019,
    "h": 252.8
  },
  "luminance": 0.1954
}

Semantic roles & 50–950 ramp

primary
#4C7DB5
secondary
#C6B097
accent
#9856D1
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0F13
muted
#7D7E82

Preview Lab

Preview with #4C7DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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