#4F79BC#4F79BC

#4F79BC is a mid, moderate blue. Relative luminance 0.190; OKLCH L 57.6% C 0.114 H 259.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4F79BC
RGBrgb(79, 121, 188)
HSLhsl(217, 45%, 52%)
HSVhsv(217, 58%, 74%)
CMYKcmyk(58%, 35.6%, 0%, 26.3%)
CIE-LABlab(50.65, 5.77, -39.62)
CIE-LCHlch(50.65, 40.03, 278.29°)
OKLaboklab(57.61% -0.021 -0.1121)
OKLCHoklch(57.61% 0.114 259.4)
XYZxyz(19.1358, 18.9662, 50.2196)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79BC #BC924F
analogous
#4FAFBC #4F79BC #5C4FBC
triadic
#4F79BC #BC4F79 #79BC4F
tetradic
#4F79BC #BC4FAF #BC924F #4FBC5C
square
#4F79BC #BC4FAF #BC924F #4FBC5C
split-complementary
#4F79BC #BC5C4F #AFBC4F
monochromatic
#284169 #395C95 #4F79BC #7B9BCD #A8BCDE

Accessibility & contrast

On white

4.38
#4F79BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4F79BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79BC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79BC#FFFFFF#000000##000000
##4F79BC1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBF
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f79bc;
/* rgb */ color: rgb(79, 121, 188);
/* oklch */ color: oklch(57.6% 0.114 259.4);
Tailwind
colors: {
  custom: {
    50: '#899fd0',
    500: '#4f79bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f79bc;
$custom-light: #899fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79bc",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 216.881,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57614,
    "c": 0.11403,
    "h": 259.4
  },
  "luminance": 0.18968
}

Semantic roles & 50–950 ramp

primary
#4F79BC
secondary
#CBB99C
accent
#A353D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4F79BC

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

Preview Lab → · Contrast checker → · Palette generator →

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