#4F7DC7#4F7DC7

#4F7DC7 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.1% C 0.125 H 259.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4F7DC7
RGBrgb(79, 125, 199)
HSLhsl(217, 52%, 55%)
HSVhsv(217, 60%, 78%)
CMYKcmyk(60.3%, 37.2%, 0%, 22%)
CIE-LABlab(52.34, 7.03, -43.23)
CIE-LCHlch(52.34, 43.80, 279.24°)
OKLaboklab(59.12% -0.0227 -0.1226)
OKLCHoklch(59.12% 0.125 259.5)
XYZxyz(20.8632, 20.4512, 56.8698)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DC7 #C7994F
analogous
#4FB9C7 #4F7DC7 #5D4FC7
triadic
#4F7DC7 #C74F7D #7DC74F
tetradic
#4F7DC7 #C74FB9 #C7994F #4FC75D
square
#4F7DC7 #C74FB9 #C7994F #4FC75D
split-complementary
#4F7DC7 #C75D4F #B9C74F
monochromatic
#264476 #345FA4 #4F7DC7 #7D9FD6 #ACC2E5

Accessibility & contrast

On white

4.13
#4F7DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4F7DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DC7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DC7#FFFFFF#000000##000000
##4F7DC71.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E83CA
Deuteranopia (green-blind)
#4D78C5
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f7dc7;
/* rgb */ color: rgb(79, 125, 199);
/* oklch */ color: oklch(59.1% 0.125 259.5);
Tailwind
colors: {
  custom: {
    50: '#8aa2d8',
    500: '#4f7dc7',
    950: '#000000',
  },
}
SCSS
$custom: #4f7dc7;
$custom-light: #8aa2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7dc7",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 217,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59116,
    "c": 0.1247,
    "h": 259.5
  },
  "luminance": 0.20453
}

Semantic roles & 50–950 ramp

primary
#4F7DC7
secondary
#D2BFA0
accent
#A54DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0F14
muted
#7D7E83

Preview Lab

Preview with #4F7DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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