#4F79CF#4F79CF

#4F79CF is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.7% C 0.140 H 263.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4F79CF
RGBrgb(79, 121, 207)
HSLhsl(220, 57%, 56%)
HSVhsv(220, 62%, 81%)
CMYKcmyk(61.8%, 41.5%, 0%, 18.8%)
CIE-LABlab(51.66, 12.18, -48.88)
CIE-LCHlch(51.66, 50.37, 283.99°)
OKLaboklab(58.72% -0.0168 -0.1392)
OKLCHoklch(58.72% 0.14 263.1)
XYZxyz(21.3204, 19.8401, 61.7253)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F79CF #CFA54F
analogous
#4FB9CF #4F79CF #654FCF
triadic
#4F79CF #CF4F79 #79CF4F
tetradic
#4F79CF #CF4FB9 #CFA54F #4FCF65
square
#4F79CF #CF4FB9 #CFA54F #4FCF65
split-complementary
#4F79CF #CF654F #B9CF4F
monochromatic
#234281 #305AB1 #4F79CF #7F9EDC #AFC2E9

Accessibility & contrast

On white

4.23
#4F79CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4F79CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F79CF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F79CF#FFFFFF#000000##000000
##4F79CF1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#4076CD
Tritanopia (blue-blind)
#008C9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f79cf;
/* rgb */ color: rgb(79, 121, 207);
/* oklch */ color: oklch(58.7% 0.140 263.1);
Tailwind
colors: {
  custom: {
    50: '#8b9fde',
    500: '#4f79cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f79cf;
$custom-light: #8b9fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4f79cf",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 220.313,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58723,
    "c": 0.14019,
    "h": 263.1
  },
  "luminance": 0.19842
}

Semantic roles & 50–950 ramp

primary
#4F79CF
secondary
#D7C6A2
accent
#AE47E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F79CF

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

Preview Lab → · Contrast checker → · Palette generator →

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