#4F79BE#4F79BE

#4F79BE is a mid, moderate blue. Relative luminance 0.191; OKLCH L 57.7% C 0.117 H 259.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4F79BE
RGBrgb(79, 121, 190)
HSLhsl(217, 46%, 53%)
HSVhsv(217, 58%, 75%)
CMYKcmyk(58.4%, 36.3%, 0%, 25.5%)
CIE-LABlab(50.75, 6.44, -40.60)
CIE-LCHlch(50.75, 41.11, 279.01°)
OKLaboklab(57.73% -0.0205 -0.115)
OKLCHoklch(57.73% 0.117 259.9)
XYZxyz(19.3529, 19.0531, 51.3630)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79BE #BE944F
analogous
#4FB1BE #4F79BE #5C4FBE
triadic
#4F79BE #BE4F79 #79BE4F
tetradic
#4F79BE #BE4FB1 #BE944F #4FBE5C
square
#4F79BE #BE4FB1 #BE944F #4FBE5C
split-complementary
#4F79BE #BE5C4F #B1BE4F
monochromatic
#28416B #385C98 #4F79BE #7C9BCF #A8BDDF

Accessibility & contrast

On white

4.36
#4F79BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4F79BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79BE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79BE#FFFFFF#000000##000000
##4F79BE1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f79be;
/* rgb */ color: rgb(79, 121, 190);
/* oklch */ color: oklch(57.7% 0.117 259.9);
Tailwind
colors: {
  custom: {
    50: '#899fd2',
    500: '#4f79be',
    950: '#000000',
  },
}
SCSS
$custom: #4f79be;
$custom-light: #899fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79be",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 190
  },
  "hsl": {
    "h": 217.297,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57726,
    "c": 0.11679,
    "h": 259.9
  },
  "luminance": 0.19055
}

Semantic roles & 50–950 ramp

primary
#4F79BE
secondary
#CCBA9C
accent
#A452D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4F79BE

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

Preview Lab → · Contrast checker → · Palette generator →

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