#4D79E1#4D79E1

#4D79E1 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.8% C 0.165 H 264.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4D79E1
RGBrgb(77, 121, 225)
HSLhsl(222, 71%, 59%)
HSVhsv(222, 66%, 88%)
CMYKcmyk(65.8%, 46.2%, 0%, 11.8%)
CIE-LABlab(52.60, 18.04, -57.54)
CIE-LCHlch(52.60, 60.30, 287.41°)
OKLaboklab(59.76% -0.0154 -0.1647)
OKLCHoklch(59.76% 0.165 264.6)
XYZxyz(23.4838, 20.6865, 73.9749)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79E1 #E1B54D
analogous
#4DC3E1 #4D79E1 #6B4DE1
triadic
#4D79E1 #E14D79 #79E14D
tetradic
#4D79E1 #E14DC3 #E1B54D #4DE16B
square
#4D79E1 #E14DC3 #E1B54D #4DE16B
split-complementary
#4D79E1 #E16B4D #C3E14D
monochromatic
#1A409A #2356CE #4D79E1 #81A0EA #B6C8F3

Accessibility & contrast

On white

4.09
#4D79E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4D79E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79E1
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79E1#FFFFFF#000000##000000
##4D79E11.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E5
Deuteranopia (green-blind)
#2777DF
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d79e1;
/* rgb */ color: rgb(77, 121, 225);
/* oklch */ color: oklch(59.8% 0.165 264.6);
Tailwind
colors: {
  custom: {
    50: '#8e9feb',
    500: '#4d79e1',
    950: '#000000',
  },
}
SCSS
$custom: #4d79e1;
$custom-light: #8e9feb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79e1",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 225
  },
  "hsl": {
    "h": 222.162,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59764,
    "c": 0.16538,
    "h": 264.6
  },
  "luminance": 0.20689
}

Semantic roles & 50–950 ramp

primary
#4D79E1
secondary
#E2D1A8
accent
#B83AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D79E1

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

Preview Lab → · Contrast checker → · Palette generator →

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