#4F79BB#4F79BB

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

Color values

HEX#4F79BB
RGBrgb(79, 121, 187)
HSLhsl(217, 44%, 52%)
HSVhsv(217, 58%, 73%)
CMYKcmyk(57.8%, 35.3%, 0%, 26.7%)
CIE-LABlab(50.60, 5.44, -39.12)
CIE-LCHlch(50.60, 39.50, 277.92°)
OKLaboklab(57.56% -0.0213 -0.1106)
OKLCHoklch(57.56% 0.113 259.1)
XYZxyz(19.0283, 18.9233, 49.6539)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79BB #BB914F
analogous
#4FAFBB #4F79BB #5B4FBB
triadic
#4F79BB #BB4F79 #79BB4F
tetradic
#4F79BB #BB4FAF #BB914F #4FBB5B
square
#4F79BB #BB4FAF #BB914F #4FBB5B
split-complementary
#4F79BB #BB5B4F #AFBB4F
monochromatic
#284168 #395C94 #4F79BB #7B9BCC #A7BCDD

Accessibility & contrast

On white

4.39
#4F79BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F79BB#FFFFFF#000000##000000
##4F79BB1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#5074BA
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f79bb;
/* rgb */ color: rgb(79, 121, 187);
/* oklch */ color: oklch(57.6% 0.113 259.1);
Tailwind
colors: {
  custom: {
    50: '#889fd0',
    500: '#4f79bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f79bb;
$custom-light: #889fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79bb",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 216.667,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57558,
    "c": 0.11267,
    "h": 259.1
  },
  "luminance": 0.18925
}

Semantic roles & 50–950 ramp

primary
#4F79BB
secondary
#CAB89B
accent
#A254D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4F79BB

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

Preview Lab → · Contrast checker → · Palette generator →

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