#4D78C7#4D78C7

#4D78C7 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 57.9% C 0.131 H 261.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4D78C7
RGBrgb(77, 120, 199)
HSLhsl(219, 52%, 54%)
HSVhsv(219, 61%, 78%)
CMYKcmyk(61.3%, 39.7%, 0%, 22%)
CIE-LABlab(50.84, 9.69, -45.62)
CIE-LCHlch(50.84, 46.64, 281.99°)
OKLaboklab(57.93% -0.0191 -0.1297)
OKLCHoklch(57.93% 0.131 261.6)
XYZxyz(20.0822, 19.1325, 56.6564)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78C7 #C79C4D
analogous
#4DB5C7 #4D78C7 #5F4DC7
triadic
#4D78C7 #C74D78 #78C74D
tetradic
#4D78C7 #C74DB5 #C79C4D #4DC75F
square
#4D78C7 #C74DB5 #C79C4D #4DC75F
split-complementary
#4D78C7 #C75F4D #B5C74D
monochromatic
#254175 #335BA3 #4D78C7 #7C9BD6 #AABFE4

Accessibility & contrast

On white

4.35
#4D78C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4D78C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D78C7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D78C7#FFFFFF#000000##000000
##4D78C71.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FCA
Deuteranopia (green-blind)
#4574C5
Tritanopia (blue-blind)
#008A96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d78c7;
/* rgb */ color: rgb(77, 120, 199);
/* oklch */ color: oklch(57.9% 0.131 261.6);
Tailwind
colors: {
  custom: {
    50: '#899ed8',
    500: '#4d78c7',
    950: '#000000',
  },
}
SCSS
$custom: #4d78c7;
$custom-light: #899ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78c7",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 199
  },
  "hsl": {
    "h": 218.852,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57925,
    "c": 0.13108,
    "h": 261.6
  },
  "luminance": 0.19134
}

Semantic roles & 50–950 ramp

primary
#4D78C7
secondary
#D2C09E
accent
#A94CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4D78C7

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

Preview Lab → · Contrast checker → · Palette generator →

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