#4D79BC#4D79BC

#4D79BC is a mid, moderate blue. Relative luminance 0.189; OKLCH L 57.5% C 0.115 H 258.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4D79BC
RGBrgb(77, 121, 188)
HSLhsl(216, 45%, 52%)
HSVhsv(216, 59%, 74%)
CMYKcmyk(59%, 35.6%, 0%, 26.3%)
CIE-LABlab(50.55, 5.36, -39.78)
CIE-LCHlch(50.55, 40.14, 277.68°)
OKLaboklab(57.51% -0.0228 -0.1126)
OKLCHoklch(57.51% 0.115 258.6)
XYZxyz(18.9719, 18.8817, 50.2120)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79BC #BC904D
analogous
#4DB1BC #4D79BC #594DBC
triadic
#4D79BC #BC4D79 #79BC4D
tetradic
#4D79BC #BC4DB1 #BC904D #4DBC59
square
#4D79BC #BC4DB1 #BC904D #4DBC59
split-complementary
#4D79BC #BC594D #B1BC4D
monochromatic
#274168 #385C94 #4D79BC #799ACD #A6BCDD

Accessibility & contrast

On white

4.40
#4D79BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4D79BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79BC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79BC#FFFFFF#000000##000000
##4D79BC1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBF
Deuteranopia (green-blind)
#4E74BB
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d79bc;
/* rgb */ color: rgb(77, 121, 188);
/* oklch */ color: oklch(57.5% 0.115 258.6);
Tailwind
colors: {
  custom: {
    50: '#889fd0',
    500: '#4d79bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d79bc;
$custom-light: #889fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79bc",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 216.216,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5751,
    "c": 0.11488,
    "h": 258.6
  },
  "luminance": 0.18883
}

Semantic roles & 50–950 ramp

primary
#4D79BC
secondary
#CBB79A
accent
#A153D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4D79BC

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

Preview Lab → · Contrast checker → · Palette generator →

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