#4D78D8#4D78D8

#4D78D8 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.0% C 0.154 H 264.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4D78D8
RGBrgb(77, 120, 216)
HSLhsl(221, 64%, 57%)
HSVhsv(221, 64%, 85%)
CMYKcmyk(64.4%, 44.4%, 0%, 15.3%)
CIE-LABlab(51.80, 15.53, -53.75)
CIE-LCHlch(51.80, 55.95, 286.12°)
OKLaboklab(58.97% -0.0159 -0.1536)
OKLCHoklch(58.97% 0.154 264.1)
XYZxyz(22.1674, 19.9665, 67.6381)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78D8 #D8AD4D
analogous
#4DBDD8 #4D78D8 #684DD8
triadic
#4D78D8 #D84D78 #78D84D
tetradic
#4D78D8 #D84DBD #D8AD4D #4DD868
square
#4D78D8 #D84DBD #D8AD4D #4DD868
split-complementary
#4D78D8 #D8684D #BDD84D
monochromatic
#1F408C #2A58BE #4D78D8 #7F9EE3 #B1C4EE

Accessibility & contrast

On white

4.21
#4D78D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4D78D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D78D8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D78D8#FFFFFF#000000##000000
##4D78D81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A82DC
Deuteranopia (green-blind)
#3276D6
Tritanopia (blue-blind)
#008E9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d78d8;
/* rgb */ color: rgb(77, 120, 216);
/* oklch */ color: oklch(59.0% 0.154 264.1);
Tailwind
colors: {
  custom: {
    50: '#8c9ee4',
    500: '#4d78d8',
    950: '#000000',
  },
}
SCSS
$custom: #4d78d8;
$custom-light: #8c9ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78d8",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 216
  },
  "hsl": {
    "h": 221.439,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58974,
    "c": 0.15438,
    "h": 264.1
  },
  "luminance": 0.19969
}

Semantic roles & 50–950 ramp

primary
#4D78D8
secondary
#DCCBA4
accent
#B441E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D78D8

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

Preview Lab → · Contrast checker → · Palette generator →

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