#4E78C0#4E78C0

#4E78C0 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.6% C 0.121 H 260.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4E78C0
RGBrgb(78, 120, 192)
HSLhsl(218, 48%, 53%)
HSVhsv(218, 59%, 75%)
CMYKcmyk(59.4%, 37.5%, 0%, 24.7%)
CIE-LABlab(50.52, 7.52, -42.12)
CIE-LCHlch(50.52, 42.79, 280.12°)
OKLaboklab(57.57% -0.0198 -0.1194)
OKLCHoklch(57.57% 0.121 260.6)
XYZxyz(19.3695, 18.8568, 52.4779)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78C0 #C0964E
analogous
#4EB1C0 #4E78C0 #5D4EC0
triadic
#4E78C0 #C04E78 #78C04E
tetradic
#4E78C0 #C04EB1 #C0964E #4EC05D
square
#4E78C0 #C04EB1 #C0964E #4EC05D
split-complementary
#4E78C0 #C05D4E #B1C04E
monochromatic
#27416D #375B9A #4E78C0 #7B9AD0 #A8BDE0

Accessibility & contrast

On white

4.40
#4E78C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4E78C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78C0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78C0#FFFFFF#000000##000000
##4E78C01.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC3
Deuteranopia (green-blind)
#4B73BE
Tritanopia (blue-blind)
#008893
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e78c0;
/* rgb */ color: rgb(78, 120, 192);
/* oklch */ color: oklch(57.6% 0.121 260.6);
Tailwind
colors: {
  custom: {
    50: '#899ed3',
    500: '#4e78c0',
    950: '#000000',
  },
}
SCSS
$custom: #4e78c0;
$custom-light: #899ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78c0",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 192
  },
  "hsl": {
    "h": 217.895,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57567,
    "c": 0.12106,
    "h": 260.6
  },
  "luminance": 0.18858
}

Semantic roles & 50–950 ramp

primary
#4E78C0
secondary
#CEBB9C
accent
#A651D7
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4E78C0

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

Preview Lab → · Contrast checker → · Palette generator →

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