#4D78CE#4D78CE

#4D78CE is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.3% C 0.141 H 262.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4D78CE
RGBrgb(77, 120, 206)
HSLhsl(220, 57%, 55%)
HSVhsv(220, 63%, 81%)
CMYKcmyk(62.6%, 41.7%, 0%, 19.2%)
CIE-LABlab(51.23, 12.09, -49.00)
CIE-LCHlch(51.23, 50.47, 283.86°)
OKLaboklab(58.35% -0.0177 -0.1396)
OKLCHoklch(58.35% 0.141 262.8)
XYZxyz(20.9137, 19.4651, 61.0355)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78CE #CEA34D
analogous
#4DB8CE #4D78CE #624DCE
triadic
#4D78CE #CE4D78 #78CE4D
tetradic
#4D78CE #CE4DB8 #CEA34D #4DCE62
square
#4D78CE #CE4DB8 #CEA34D #4DCE62
split-complementary
#4D78CE #CE624D #B8CE4D
monochromatic
#23417E #305AAE #4D78CE #7D9CDB #ADC1E8

Accessibility & contrast

On white

4.29
#4D78CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4D78CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D78CE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D78CE#FFFFFF#000000##000000
##4D78CE1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D1
Deuteranopia (green-blind)
#3E75CC
Tritanopia (blue-blind)
#008B99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d78ce;
/* rgb */ color: rgb(77, 120, 206);
/* oklch */ color: oklch(58.3% 0.141 262.8);
Tailwind
colors: {
  custom: {
    50: '#8a9edd',
    500: '#4d78ce',
    950: '#000000',
  },
}
SCSS
$custom: #4d78ce;
$custom-light: #8a9edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78ce",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 220,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58348,
    "c": 0.14071,
    "h": 262.8
  },
  "luminance": 0.19467
}

Semantic roles & 50–950 ramp

primary
#4D78CE
secondary
#D6C4A1
accent
#AD48E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D78CE

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

Preview Lab → · Contrast checker → · Palette generator →

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