#4E78C7#4E78C7

#4E78C7 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.0% C 0.131 H 262.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4E78C7
RGBrgb(78, 120, 199)
HSLhsl(219, 52%, 54%)
HSVhsv(219, 61%, 78%)
CMYKcmyk(60.8%, 39.7%, 0%, 22%)
CIE-LABlab(50.89, 9.88, -45.54)
CIE-LCHlch(50.89, 46.60, 282.24°)
OKLaboklab(57.98% -0.0182 -0.1294)
OKLCHoklch(57.98% 0.131 262)
XYZxyz(20.1636, 19.1744, 56.6602)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78C7 #C79D4E
analogous
#4EB4C7 #4E78C7 #614EC7
triadic
#4E78C7 #C74E78 #78C74E
tetradic
#4E78C7 #C74EB4 #C79D4E #4EC761
square
#4E78C7 #C74EB4 #C79D4E #4EC761
split-complementary
#4E78C7 #C7614E #B4C74E
monochromatic
#254175 #345BA4 #4E78C7 #7C9BD6 #ABBFE4

Accessibility & contrast

On white

4.34
#4E78C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4E78C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78C7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78C7#FFFFFF#000000##000000
##4E78C71.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.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: #4e78c7;
/* rgb */ color: rgb(78, 120, 199);
/* oklch */ color: oklch(58.0% 0.131 262.0);
Tailwind
colors: {
  custom: {
    50: '#8a9ed8',
    500: '#4e78c7',
    950: '#000000',
  },
}
SCSS
$custom: #4e78c7;
$custom-light: #8a9ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78c7",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 199
  },
  "hsl": {
    "h": 219.174,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57976,
    "c": 0.13071,
    "h": 262
  },
  "luminance": 0.19176
}

Semantic roles & 50–950 ramp

primary
#4E78C7
secondary
#D2C09F
accent
#AA4CDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #4E78C7

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

Preview Lab → · Contrast checker → · Palette generator →

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