#4F79CB#4F79CB

#4F79CB is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.5% C 0.135 H 262.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4F79CB
RGBrgb(79, 121, 203)
HSLhsl(220, 54%, 55%)
HSVhsv(220, 61%, 80%)
CMYKcmyk(61.1%, 40.4%, 0%, 20.4%)
CIE-LABlab(51.44, 10.82, -46.95)
CIE-LCHlch(51.44, 48.18, 282.98°)
OKLaboklab(58.48% -0.0176 -0.1335)
OKLCHoklch(58.48% 0.135 262.5)
XYZxyz(20.8376, 19.6470, 59.1825)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79CB #CBA14F
analogous
#4FB7CB #4F79CB #634FCB
triadic
#4F79CB #CB4F79 #79CB4F
tetradic
#4F79CB #CB4FB7 #CBA14F #4FCB63
square
#4F79CB #CB4FB7 #CBA14F #4FCB63
split-complementary
#4F79CB #CB634F #B7CB4F
monochromatic
#24427B #325BAA #4F79CB #7E9DD9 #ADC1E7

Accessibility & contrast

On white

4.26
#4F79CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4F79CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79CB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79CB#FFFFFF#000000##000000
##4F79CB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CE
Deuteranopia (green-blind)
#4475C9
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f79cb;
/* rgb */ color: rgb(79, 121, 203);
/* oklch */ color: oklch(58.5% 0.135 262.5);
Tailwind
colors: {
  custom: {
    50: '#8b9fdb',
    500: '#4f79cb',
    950: '#000000',
  },
}
SCSS
$custom: #4f79cb;
$custom-light: #8b9fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79cb",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 219.677,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58482,
    "c": 0.13469,
    "h": 262.5
  },
  "luminance": 0.19649
}

Semantic roles & 50–950 ramp

primary
#4F79CB
secondary
#D5C3A1
accent
#AC4ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F79CB

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

Preview Lab → · Contrast checker → · Palette generator →

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