#4D78CA#4D78CA

#4D78CA is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.1% C 0.135 H 262.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4D78CA
RGBrgb(77, 120, 202)
HSLhsl(219, 54%, 55%)
HSVhsv(219, 62%, 79%)
CMYKcmyk(61.9%, 40.6%, 0%, 20.8%)
CIE-LABlab(51.01, 10.71, -47.07)
CIE-LCHlch(51.01, 48.28, 282.82°)
OKLaboklab(58.11% -0.0185 -0.1339)
OKLCHoklch(58.11% 0.135 262.1)
XYZxyz(20.4340, 19.2732, 58.5089)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78CA #CA9F4D
analogous
#4DB7CA #4D78CA #614DCA
triadic
#4D78CA #CA4D78 #78CA4D
tetradic
#4D78CA #CA4DB7 #CA9F4D #4DCA61
square
#4D78CA #CA4DB7 #CA9F4D #4DCA61
split-complementary
#4D78CA #CA614D #B7CA4D
monochromatic
#244179 #325BA8 #4D78CA #7C9CD8 #ABC0E6

Accessibility & contrast

On white

4.33
#4D78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4D78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D78CA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D78CA#FFFFFF#000000##000000
##4D78CA1.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#4274C8
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d78ca;
/* rgb */ color: rgb(77, 120, 202);
/* oklch */ color: oklch(58.1% 0.135 262.1);
Tailwind
colors: {
  custom: {
    50: '#8a9eda',
    500: '#4d78ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d78ca;
$custom-light: #8a9eda;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78ca",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 219.36,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58105,
    "c": 0.13521,
    "h": 262.1
  },
  "luminance": 0.19275
}

Semantic roles & 50–950 ramp

primary
#4D78CA
secondary
#D4C29F
accent
#AB4ADD
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4D78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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