#4D79BD#4D79BD

#4D79BD is a mid, moderate blue. Relative luminance 0.189; OKLCH L 57.6% C 0.116 H 258.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4D79BD
RGBrgb(77, 121, 189)
HSLhsl(216, 46%, 52%)
HSVhsv(216, 59%, 74%)
CMYKcmyk(59.3%, 36%, 0%, 25.9%)
CIE-LABlab(50.60, 5.70, -40.27)
CIE-LCHlch(50.60, 40.67, 278.05°)
OKLaboklab(57.57% -0.0225 -0.114)
OKLCHoklch(57.57% 0.116 258.8)
XYZxyz(19.0800, 18.9250, 50.7817)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79BD #BD914D
analogous
#4DB1BD #4D79BD #594DBD
triadic
#4D79BD #BD4D79 #79BD4D
tetradic
#4D79BD #BD4DB1 #BD914D #4DBD59
square
#4D79BD #BD4DB1 #BD914D #4DBD59
split-complementary
#4D79BD #BD594D #B1BD4D
monochromatic
#274169 #375C95 #4D79BD #7A9BCE #A6BCDE

Accessibility & contrast

On white

4.39
#4D79BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4D79BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79BD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79BD#FFFFFF#000000##000000
##4D79BD1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d79bd;
/* rgb */ color: rgb(77, 121, 189);
/* oklch */ color: oklch(57.6% 0.116 258.8);
Tailwind
colors: {
  custom: {
    50: '#889fd1',
    500: '#4d79bd',
    950: '#000000',
  },
}
SCSS
$custom: #4d79bd;
$custom-light: #889fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79bd",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 189
  },
  "hsl": {
    "h": 216.429,
    "s": 45.902,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57566,
    "c": 0.11625,
    "h": 258.8
  },
  "luminance": 0.18927
}

Semantic roles & 50–950 ramp

primary
#4D79BD
secondary
#CBB89A
accent
#A252D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4D79BD

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

Preview Lab → · Contrast checker → · Palette generator →

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