#4D79BA#4D79BA

#4D79BA is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.4% C 0.112 H 258.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4D79BA
RGBrgb(77, 121, 186)
HSLhsl(216, 44%, 52%)
HSVhsv(216, 59%, 73%)
CMYKcmyk(58.6%, 34.9%, 0%, 27.1%)
CIE-LABlab(50.45, 4.69, -38.79)
CIE-LCHlch(50.45, 39.07, 276.90°)
OKLaboklab(57.4% -0.0233 -0.1097)
OKLCHoklch(57.4% 0.112 258)
XYZxyz(18.7578, 18.7961, 49.0844)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79BA #BA8E4D
analogous
#4DB0BA #4D79BA #584DBA
triadic
#4D79BA #BA4D79 #79BA4D
tetradic
#4D79BA #BA4DB0 #BA8E4D #4DBA58
square
#4D79BA #BA4DB0 #BA8E4D #4DBA58
split-complementary
#4D79BA #BA584D #B0BA4D
monochromatic
#274065 #385C91 #4D79BA #799ACB #A5BBDC

Accessibility & contrast

On white

4.41
#4D79BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4D79BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79BA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79BA#FFFFFF#000000##000000
##4D79BA1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBD
Deuteranopia (green-blind)
#5073B9
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d79ba;
/* rgb */ color: rgb(77, 121, 186);
/* oklch */ color: oklch(57.4% 0.112 258.0);
Tailwind
colors: {
  custom: {
    50: '#879fcf',
    500: '#4d79ba',
    950: '#000000',
  },
}
SCSS
$custom: #4d79ba;
$custom-light: #879fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79ba",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 186
  },
  "hsl": {
    "h": 215.78,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57398,
    "c": 0.11215,
    "h": 258
  },
  "luminance": 0.18798
}

Semantic roles & 50–950 ramp

primary
#4D79BA
secondary
#C9B699
accent
#A054D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4D79BA

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

Preview Lab → · Contrast checker → · Palette generator →

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