#4D79CF#4D79CF

#4D79CF is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.6% C 0.141 H 262.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4D79CF
RGBrgb(77, 121, 207)
HSLhsl(220, 58%, 56%)
HSVhsv(220, 63%, 81%)
CMYKcmyk(62.8%, 41.5%, 0%, 18.8%)
CIE-LABlab(51.56, 11.81, -49.04)
CIE-LCHlch(51.56, 50.44, 283.55°)
OKLaboklab(58.62% -0.0185 -0.1397)
OKLCHoklch(58.62% 0.141 262.4)
XYZxyz(21.1565, 19.7556, 61.7177)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79CF #CFA34D
analogous
#4DBACF #4D79CF #624DCF
triadic
#4D79CF #CF4D79 #79CF4D
tetradic
#4D79CF #CF4DBA #CFA34D #4DCF62
square
#4D79CF #CF4DBA #CFA34D #4DCF62
split-complementary
#4D79CF #CF624D #BACF4D
monochromatic
#22427F #2F5BAF #4D79CF #7D9DDC #ADC2E9

Accessibility & contrast

On white

4.24
#4D79CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4D79CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79CF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79CF#FFFFFF#000000##000000
##4D79CF1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#3F75CD
Tritanopia (blue-blind)
#008C9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d79cf;
/* rgb */ color: rgb(77, 121, 207);
/* oklch */ color: oklch(58.6% 0.141 262.4);
Tailwind
colors: {
  custom: {
    50: '#8a9fde',
    500: '#4d79cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d79cf;
$custom-light: #8a9fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79cf",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 219.692,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58623,
    "c": 0.14091,
    "h": 262.4
  },
  "luminance": 0.19758
}

Semantic roles & 50–950 ramp

primary
#4D79CF
secondary
#D7C5A1
accent
#AD47E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D79CF

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

Preview Lab → · Contrast checker → · Palette generator →

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