#4E78C1#4E78C1

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

Color values

HEX#4E78C1
RGBrgb(78, 120, 193)
HSLhsl(218, 48%, 53%)
HSVhsv(218, 60%, 76%)
CMYKcmyk(59.6%, 37.8%, 0%, 24.3%)
CIE-LABlab(50.57, 7.85, -42.61)
CIE-LCHlch(50.57, 43.33, 280.44°)
OKLaboklab(57.63% -0.0196 -0.1209)
OKLCHoklch(57.63% 0.122 260.8)
XYZxyz(19.4806, 18.9012, 53.0634)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78C1 #C1974E
analogous
#4EB1C1 #4E78C1 #5D4EC1
triadic
#4E78C1 #C14E78 #78C14E
tetradic
#4E78C1 #C14EB1 #C1974E #4EC15D
square
#4E78C1 #C14EB1 #C1974E #4EC15D
split-complementary
#4E78C1 #C15D4E #B1C14E
monochromatic
#27416E #365B9B #4E78C1 #7B9BD1 #A9BDE1

Accessibility & contrast

On white

4.39
#4E78C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4E78C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78C1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78C1#FFFFFF#000000##000000
##4E78C11.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#597EC4
Deuteranopia (green-blind)
#4A73BF
Tritanopia (blue-blind)
#008893
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e78c1;
/* rgb */ color: rgb(78, 120, 193);
/* oklch */ color: oklch(57.6% 0.122 260.8);
Tailwind
colors: {
  custom: {
    50: '#899ed4',
    500: '#4e78c1',
    950: '#000000',
  },
}
SCSS
$custom: #4e78c1;
$custom-light: #899ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78c1",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 193
  },
  "hsl": {
    "h": 218.087,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57625,
    "c": 0.12244,
    "h": 260.8
  },
  "luminance": 0.18903
}

Semantic roles & 50–950 ramp

primary
#4E78C1
secondary
#CEBC9D
accent
#A650D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4E78C1

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

Preview Lab → · Contrast checker → · Palette generator →

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