#4F7BC6#4F7BC6

#4F7BC6 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.6% C 0.126 H 260.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4F7BC6
RGBrgb(79, 123, 198)
HSLhsl(218, 51%, 54%)
HSVhsv(218, 60%, 78%)
CMYKcmyk(60.1%, 37.9%, 0%, 22.4%)
CIE-LABlab(51.73, 7.91, -43.64)
CIE-LCHlch(51.73, 44.35, 280.27°)
OKLaboklab(58.62% -0.0208 -0.1238)
OKLCHoklch(58.62% 0.126 260.5)
XYZxyz(20.4969, 19.9036, 56.1768)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BC6 #C69A4F
analogous
#4FB7C6 #4F7BC6 #5F4FC6
triadic
#4F7BC6 #C64F7B #7BC64F
tetradic
#4F7BC6 #C64FB7 #C69A4F #4FC65F
square
#4F7BC6 #C64FB7 #C69A4F #4FC65F
split-complementary
#4F7BC6 #C65F4F #B7C64F
monochromatic
#264375 #355EA3 #4F7BC6 #7D9ED5 #ABC0E4

Accessibility & contrast

On white

4.22
#4F7BC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4F7BC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BC6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BC6#FFFFFF#000000##000000
##4F7BC61.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f7bc6;
/* rgb */ color: rgb(79, 123, 198);
/* oklch */ color: oklch(58.6% 0.126 260.5);
Tailwind
colors: {
  custom: {
    50: '#8aa0d7',
    500: '#4f7bc6',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bc6;
$custom-light: #8aa0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bc6",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 198
  },
  "hsl": {
    "h": 217.815,
    "s": 51.073,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58621,
    "c": 0.12554,
    "h": 260.5
  },
  "luminance": 0.19905
}

Semantic roles & 50–950 ramp

primary
#4F7BC6
secondary
#D2BF9F
accent
#A64DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #4F7BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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