#4F7CC2#4F7CC2

#4F7CC2 is a mid, moderate blue. Relative luminance 0.200; OKLCH L 58.6% C 0.119 H 258.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4F7CC2
RGBrgb(79, 124, 194)
HSLhsl(217, 49%, 54%)
HSVhsv(217, 59%, 76%)
CMYKcmyk(59.3%, 36.1%, 0%, 23.9%)
CIE-LABlab(51.80, 5.96, -41.23)
CIE-LCHlch(51.80, 41.66, 278.22°)
OKLaboklab(58.61% -0.0228 -0.1168)
OKLCHoklch(58.61% 0.119 258.9)
XYZxyz(20.1663, 19.9709, 53.8205)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CC2 #C2954F
analogous
#4FB5C2 #4F7CC2 #5B4FC2
triadic
#4F7CC2 #C24F7C #7CC24F
tetradic
#4F7CC2 #C24FB5 #C2954F #4FC25B
square
#4F7CC2 #C24FB5 #C2954F #4FC25B
split-complementary
#4F7CC2 #C25B4F #B5C24F
monochromatic
#274370 #375F9D #4F7CC2 #7C9ED2 #AAC0E2

Accessibility & contrast

On white

4.20
#4F7CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7CC2#FFFFFF#000000##000000
##4F7CC21.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F81C5
Deuteranopia (green-blind)
#5077C1
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f7cc2;
/* rgb */ color: rgb(79, 124, 194);
/* oklch */ color: oklch(58.6% 0.119 258.9);
Tailwind
colors: {
  custom: {
    50: '#89a1d5',
    500: '#4f7cc2',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cc2;
$custom-light: #89a1d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cc2",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 194
  },
  "hsl": {
    "h": 216.522,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58613,
    "c": 0.11898,
    "h": 258.9
  },
  "luminance": 0.19973
}

Semantic roles & 50–950 ramp

primary
#4F7CC2
secondary
#CFBC9E
accent
#A350D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4F7CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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