#4D79F0#4D79F0

#4D79F0 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.8% C 0.185 H 265.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4D79F0
RGBrgb(77, 121, 240)
HSLhsl(224, 84%, 62%)
HSVhsv(224, 68%, 94%)
CMYKcmyk(67.9%, 49.6%, 0%, 5.9%)
CIE-LABlab(53.54, 23.26, -64.43)
CIE-LCHlch(53.54, 68.50, 289.85°)
OKLaboklab(60.78% -0.0135 -0.1849)
OKLCHoklch(60.78% 0.185 265.8)
XYZxyz(25.6206, 21.5412, 85.2288)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79F0 #F0C44D
analogous
#4DCAF0 #4D79F0 #734DF0
triadic
#4D79F0 #F04D79 #79F04D
tetradic
#4D79F0 #F04DCA #F0C44D #4DF073
square
#4D79F0 #F04DCA #F0C44D #4DF073
split-complementary
#4D79F0 #F0734D #CAF04D
monochromatic
#0F3BB3 #154FEB #4D79F0 #85A3F5 #BECEFA

Accessibility & contrast

On white

3.96
#4D79F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4D79F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79F0
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79F0#FFFFFF#000000##000000
##4D79F01.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3488F4
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4d79f0;
/* rgb */ color: rgb(77, 121, 240);
/* oklch */ color: oklch(60.8% 0.185 265.8);
Tailwind
colors: {
  custom: {
    50: '#909ff6',
    500: '#4d79f0',
    950: '#000000',
  },
}
SCSS
$custom: #4d79f0;
$custom-light: #909ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79f0",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 240
  },
  "hsl": {
    "h": 223.804,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60775,
    "c": 0.18543,
    "h": 265.8
  },
  "luminance": 0.21544
}

Semantic roles & 50–950 ramp

primary
#4D79F0
secondary
#EADAAE
accent
#A505E1
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4D79F0

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

Preview Lab → · Contrast checker → · Palette generator →

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