#4C7DC6#4C7DC6

#4C7DC6 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 58.9% C 0.125 H 258.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4C7DC6
RGBrgb(76, 125, 198)
HSLhsl(216, 52%, 54%)
HSVhsv(216, 62%, 78%)
CMYKcmyk(61.6%, 36.9%, 0%, 22.4%)
CIE-LABlab(52.15, 6.11, -42.98)
CIE-LCHlch(52.15, 43.41, 278.10°)
OKLaboklab(58.91% -0.0255 -0.1219)
OKLCHoklch(58.91% 0.125 258.2)
XYZxyz(20.5035, 20.2791, 56.2489)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7DC6 #C6954C
analogous
#4CBAC6 #4C7DC6 #584CC6
triadic
#4C7DC6 #C64C7D #7DC64C
tetradic
#4C7DC6 #C64CBA #C6954C #4CC658
square
#4C7DC6 #C64CBA #C6954C #4CC658
split-complementary
#4C7DC6 #C6584C #BAC64C
monochromatic
#254473 #3360A1 #4C7DC6 #7A9FD5 #A9C0E4

Accessibility & contrast

On white

4.15
#4C7DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4C7DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7DC6
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7DC6#FFFFFF#000000##000000
##4C7DC61.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E83C9
Deuteranopia (green-blind)
#4D77C4
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c7dc6;
/* rgb */ color: rgb(76, 125, 198);
/* oklch */ color: oklch(58.9% 0.125 258.2);
Tailwind
colors: {
  custom: {
    50: '#89a2d7',
    500: '#4c7dc6',
    950: '#000000',
  },
}
SCSS
$custom: #4c7dc6;
$custom-light: #89a2d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7dc6",
  "rgb": {
    "r": 76,
    "g": 125,
    "b": 198
  },
  "hsl": {
    "h": 215.902,
    "s": 51.695,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58912,
    "c": 0.12454,
    "h": 258.2
  },
  "luminance": 0.20281
}

Semantic roles & 50–950 ramp

primary
#4C7DC6
secondary
#D1BC9D
accent
#A24DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4C7DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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