#4F7BC7#4F7BC7

#4F7BC7 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.7% C 0.127 H 260.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4F7BC7
RGBrgb(79, 123, 199)
HSLhsl(218, 52%, 55%)
HSVhsv(218, 60%, 78%)
CMYKcmyk(60.3%, 38.2%, 0%, 22%)
CIE-LABlab(51.78, 8.24, -44.12)
CIE-LCHlch(51.78, 44.89, 280.58°)
OKLaboklab(58.68% -0.0206 -0.1252)
OKLCHoklch(58.68% 0.127 260.7)
XYZxyz(20.6126, 19.9499, 56.7862)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BC7 #C79B4F
analogous
#4FB7C7 #4F7BC7 #5F4FC7
triadic
#4F7BC7 #C74F7B #7BC74F
tetradic
#4F7BC7 #C74FB7 #C79B4F #4FC75F
square
#4F7BC7 #C74FB7 #C79B4F #4FC75F
split-complementary
#4F7BC7 #C75F4F #B7C74F
monochromatic
#264376 #345DA4 #4F7BC7 #7D9ED6 #ACC1E5

Accessibility & contrast

On white

4.21
#4F7BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7BC7#FFFFFF#000000##000000
##4F7BC71.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A81CA
Deuteranopia (green-blind)
#4A76C5
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f7bc7;
/* rgb */ color: rgb(79, 123, 199);
/* oklch */ color: oklch(58.7% 0.127 260.7);
Tailwind
colors: {
  custom: {
    50: '#8aa0d8',
    500: '#4f7bc7',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bc7;
$custom-light: #8aa0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bc7",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 218,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58679,
    "c": 0.12692,
    "h": 260.7
  },
  "luminance": 0.19952
}

Semantic roles & 50–950 ramp

primary
#4F7BC7
secondary
#D2C0A0
accent
#A74DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #4F7BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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