#4D79CE#4D79CE

#4D79CE is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.6% C 0.140 H 262.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4D79CE
RGBrgb(77, 121, 206)
HSLhsl(220, 57%, 55%)
HSVhsv(220, 63%, 81%)
CMYKcmyk(62.6%, 41.3%, 0%, 19.2%)
CIE-LABlab(51.50, 11.47, -48.56)
CIE-LCHlch(51.50, 49.89, 283.29°)
OKLaboklab(58.56% -0.0187 -0.1383)
OKLCHoklch(58.56% 0.14 262.3)
XYZxyz(21.0346, 19.7068, 61.0758)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79CE #CEA24D
analogous
#4DB9CE #4D79CE #614DCE
triadic
#4D79CE #CE4D79 #79CE4D
tetradic
#4D79CE #CE4DB9 #CEA24D #4DCE61
square
#4D79CE #CE4DB9 #CEA24D #4DCE61
split-complementary
#4D79CE #CE614D #B9CE4D
monochromatic
#23427E #305BAE #4D79CE #7D9DDB #ADC1E8

Accessibility & contrast

On white

4.25
#4D79CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4D79CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79CE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79CE#FFFFFF#000000##000000
##4D79CE1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D1
Deuteranopia (green-blind)
#4075CC
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d79ce;
/* rgb */ color: rgb(77, 121, 206);
/* oklch */ color: oklch(58.6% 0.140 262.3);
Tailwind
colors: {
  custom: {
    50: '#8a9fdd',
    500: '#4d79ce',
    950: '#000000',
  },
}
SCSS
$custom: #4d79ce;
$custom-light: #8a9fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79ce",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 219.535,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58562,
    "c": 0.13954,
    "h": 262.3
  },
  "luminance": 0.19709
}

Semantic roles & 50–950 ramp

primary
#4D79CE
secondary
#D6C4A1
accent
#AC48E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D79CE

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

Preview Lab → · Contrast checker → · Palette generator →

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