#4E78C2#4E78C2

#4E78C2 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.7% C 0.124 H 261.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4E78C2
RGBrgb(78, 120, 194)
HSLhsl(218, 49%, 53%)
HSVhsv(218, 60%, 76%)
CMYKcmyk(59.8%, 38.1%, 0%, 23.9%)
CIE-LABlab(50.62, 8.19, -43.10)
CIE-LCHlch(50.62, 43.87, 280.76°)
OKLaboklab(57.68% -0.0194 -0.1223)
OKLCHoklch(57.68% 0.124 261)
XYZxyz(19.5926, 18.9460, 53.6529)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78C2 #C2984E
analogous
#4EB2C2 #4E78C2 #5E4EC2
triadic
#4E78C2 #C24E78 #78C24E
tetradic
#4E78C2 #C24EB2 #C2984E #4EC25E
square
#4E78C2 #C24EB2 #C2984E #4EC25E
split-complementary
#4E78C2 #C25E4E #B2C24E
monochromatic
#26416F #365B9D #4E78C2 #7C9BD2 #A9BDE1

Accessibility & contrast

On white

4.38
#4E78C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4E78C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78C2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78C2#FFFFFF#000000##000000
##4E78C21.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#597EC5
Deuteranopia (green-blind)
#4974C0
Tritanopia (blue-blind)
#008994
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e78c2;
/* rgb */ color: rgb(78, 120, 194);
/* oklch */ color: oklch(57.7% 0.124 261.0);
Tailwind
colors: {
  custom: {
    50: '#899ed5',
    500: '#4e78c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e78c2;
$custom-light: #899ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78c2",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 194
  },
  "hsl": {
    "h": 218.276,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57683,
    "c": 0.12381,
    "h": 261
  },
  "luminance": 0.18948
}

Semantic roles & 50–950 ramp

primary
#4E78C2
secondary
#CFBD9D
accent
#A750D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4E78C2

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

Preview Lab → · Contrast checker → · Palette generator →

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