#4D79DC#4D79DC

#4D79DC is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.4% C 0.159 H 264.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4D79DC
RGBrgb(77, 121, 220)
HSLhsl(222, 67%, 58%)
HSVhsv(222, 65%, 86%)
CMYKcmyk(65%, 45%, 0%, 13.7%)
CIE-LABlab(52.31, 16.30, -55.20)
CIE-LCHlch(52.31, 57.56, 286.45°)
OKLaboklab(59.44% -0.0162 -0.1578)
OKLCHoklch(59.44% 0.159 264.1)
XYZxyz(22.8117, 20.4177, 70.4351)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79DC #DCB04D
analogous
#4DC1DC #4D79DC #684DDC
triadic
#4D79DC #DC4D79 #79DC4D
tetradic
#4D79DC #DC4DC1 #DCB04D #4DDC68
square
#4D79DC #DC4DC1 #DCB04D #4DDC68
split-complementary
#4D79DC #DC684D #C1DC4D
monochromatic
#1D4192 #2757C5 #4D79DC #80A0E6 #B3C6F0

Accessibility & contrast

On white

4.13
#4D79DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4D79DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79DC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79DC#FFFFFF#000000##000000
##4D79DC1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E0
Deuteranopia (green-blind)
#2F77DA
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4d79dc;
/* rgb */ color: rgb(77, 121, 220);
/* oklch */ color: oklch(59.4% 0.159 264.1);
Tailwind
colors: {
  custom: {
    50: '#8d9fe7',
    500: '#4d79dc',
    950: '#000000',
  },
}
SCSS
$custom: #4d79dc;
$custom-light: #8d9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79dc",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 221.538,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59439,
    "c": 0.15862,
    "h": 264.1
  },
  "luminance": 0.2042
}

Semantic roles & 50–950 ramp

primary
#4D79DC
secondary
#DFCDA6
accent
#B53EEA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D79DC

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

Preview Lab → · Contrast checker → · Palette generator →

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