#4D79D9#4D79D9

#4D79D9 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.2% C 0.155 H 263.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4D79D9
RGBrgb(77, 121, 217)
HSLhsl(221, 65%, 58%)
HSVhsv(221, 65%, 85%)
CMYKcmyk(64.5%, 44.2%, 0%, 14.9%)
CIE-LABlab(52.13, 15.26, -53.79)
CIE-LCHlch(52.13, 55.91, 285.84°)
OKLaboklab(59.25% -0.0167 -0.1536)
OKLCHoklch(59.25% 0.155 263.8)
XYZxyz(22.4179, 20.2602, 68.3614)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79D9 #D9AD4D
analogous
#4DBFD9 #4D79D9 #674DD9
triadic
#4D79D9 #D94D79 #79D94D
tetradic
#4D79D9 #D94DBF #D9AD4D #4DD967
square
#4D79D9 #D94DBF #D9AD4D #4DD967
split-complementary
#4D79D9 #D9674D #BFD94D
monochromatic
#1E418D #2958C0 #4D79D9 #7F9FE4 #B2C5EF

Accessibility & contrast

On white

4.16
#4D79D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4D79D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79D9
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79D9#FFFFFF#000000##000000
##4D79D91.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B83DD
Deuteranopia (green-blind)
#3376D7
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d79d9;
/* rgb */ color: rgb(77, 121, 217);
/* oklch */ color: oklch(59.2% 0.155 263.8);
Tailwind
colors: {
  custom: {
    50: '#8c9fe5',
    500: '#4d79d9',
    950: '#000000',
  },
}
SCSS
$custom: #4d79d9;
$custom-light: #8c9fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79d9",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 217
  },
  "hsl": {
    "h": 221.143,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59247,
    "c": 0.15455,
    "h": 263.8
  },
  "luminance": 0.20262
}

Semantic roles & 50–950 ramp

primary
#4D79D9
secondary
#DDCBA5
accent
#B340E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D79D9

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

Preview Lab → · Contrast checker → · Palette generator →

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