#4D79EB#4D79EB

#4D79EB is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.4% C 0.179 H 265.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4D79EB
RGBrgb(77, 121, 235)
HSLhsl(223, 80%, 61%)
HSVhsv(223, 67%, 92%)
CMYKcmyk(67.2%, 48.5%, 0%, 7.8%)
CIE-LABlab(53.22, 21.52, -62.15)
CIE-LCHlch(53.22, 65.77, 289.10°)
OKLaboklab(60.43% -0.0141 -0.1782)
OKLCHoklch(60.43% 0.179 265.5)
XYZxyz(24.8881, 21.2482, 81.3709)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79EB #EBBF4D
analogous
#4DC8EB #4D79EB #704DEB
triadic
#4D79EB #EB4D79 #79EB4D
tetradic
#4D79EB #EB4DC8 #EBBF4D #4DEB70
square
#4D79EB #EB4DC8 #EBBF4D #4DEB70
split-complementary
#4D79EB #EB704D #C8EB4D
monochromatic
#133DAA #1951E1 #4D79EB #84A2F1 #BBCCF7

Accessibility & contrast

On white

4.00
#4D79EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4D79EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79EB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79EB#FFFFFF#000000##000000
##4D79EB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87EF
Deuteranopia (green-blind)
#0878E9
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d79eb;
/* rgb */ color: rgb(77, 121, 235);
/* oklch */ color: oklch(60.4% 0.179 265.5);
Tailwind
colors: {
  custom: {
    50: '#8f9ff2',
    500: '#4d79eb',
    950: '#000000',
  },
}
SCSS
$custom: #4d79eb;
$custom-light: #8f9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79eb",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 223.291,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60432,
    "c": 0.17878,
    "h": 265.5
  },
  "luminance": 0.21251
}

Semantic roles & 50–950 ramp

primary
#4D79EB
secondary
#E8D7AC
accent
#A109DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4D79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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