#4D78D0#4D78D0

#4D78D0 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.5% C 0.143 H 263.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4D78D0
RGBrgb(77, 120, 208)
HSLhsl(220, 58%, 56%)
HSVhsv(220, 63%, 82%)
CMYKcmyk(63%, 42.3%, 0%, 18.4%)
CIE-LABlab(51.34, 12.77, -49.96)
CIE-LCHlch(51.34, 51.56, 284.34°)
OKLaboklab(58.47% -0.0173 -0.1424)
OKLCHoklch(58.47% 0.143 263.1)
XYZxyz(21.1582, 19.5629, 62.3233)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78D0 #D0A54D
analogous
#4DBAD0 #4D78D0 #634DD0
triadic
#4D78D0 #D04D78 #78D04D
tetradic
#4D78D0 #D04DBA #D0A54D #4DD063
square
#4D78D0 #D04DBA #D0A54D #4DD063
split-complementary
#4D78D0 #D0634D #BAD04D
monochromatic
#224181 #2F5AB1 #4D78D0 #7D9DDD #AEC1EA

Accessibility & contrast

On white

4.27
#4D78D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4D78D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D78D0
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D78D0#FFFFFF#000000##000000
##4D78D01.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5081D3
Deuteranopia (green-blind)
#3C75CE
Tritanopia (blue-blind)
#008C9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d78d0;
/* rgb */ color: rgb(77, 120, 208);
/* oklch */ color: oklch(58.5% 0.143 263.1);
Tailwind
colors: {
  custom: {
    50: '#8b9edf',
    500: '#4d78d0',
    950: '#000000',
  },
}
SCSS
$custom: #4d78d0;
$custom-light: #8b9edf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78d0",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 208
  },
  "hsl": {
    "h": 220.305,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58471,
    "c": 0.14345,
    "h": 263.1
  },
  "luminance": 0.19565
}

Semantic roles & 50–950 ramp

primary
#4D78D0
secondary
#D8C6A1
accent
#AF46E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D78D0

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

Preview Lab → · Contrast checker → · Palette generator →

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