#4D79E8#4D79E8

#4D79E8 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.2% C 0.175 H 265.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4D79E8
RGBrgb(77, 121, 232)
HSLhsl(223, 77%, 61%)
HSVhsv(223, 67%, 91%)
CMYKcmyk(66.8%, 47.8%, 0%, 9%)
CIE-LABlab(53.03, 20.47, -60.77)
CIE-LCHlch(53.03, 64.13, 288.62°)
OKLaboklab(60.23% -0.0144 -0.1742)
OKLCHoklch(60.23% 0.175 265.3)
XYZxyz(24.4583, 21.0763, 79.1075)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79E8 #E8BC4D
analogous
#4DC6E8 #4D79E8 #6F4DE8
triadic
#4D79E8 #E84D79 #79E84D
tetradic
#4D79E8 #E84DC6 #E8BC4D #4DE86F
square
#4D79E8 #E84DC6 #E8BC4D #4DE86F
split-complementary
#4D79E8 #E86F4D #C6E84D
monochromatic
#153EA5 #1C53DB #4D79E8 #83A2EF #B9CBF6

Accessibility & contrast

On white

4.03
#4D79E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4D79E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79E8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79E8#FFFFFF#000000##000000
##4D79E81.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D86EC
Deuteranopia (green-blind)
#1678E6
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d79e8;
/* rgb */ color: rgb(77, 121, 232);
/* oklch */ color: oklch(60.2% 0.175 265.3);
Tailwind
colors: {
  custom: {
    50: '#8f9ff0',
    500: '#4d79e8',
    950: '#000000',
  },
}
SCSS
$custom: #4d79e8;
$custom-light: #8f9ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79e8",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 232
  },
  "hsl": {
    "h": 222.968,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60229,
    "c": 0.17478,
    "h": 265.3
  },
  "luminance": 0.21079
}

Semantic roles & 50–950 ramp

primary
#4D79E8
secondary
#E6D5AB
accent
#9F0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4D79E8

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

Preview Lab → · Contrast checker → · Palette generator →

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