#4E78B1#4E78B1

#4E78B1 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.7% C 0.101 H 256.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4E78B1
RGBrgb(78, 120, 177)
HSLhsl(215, 39%, 50%)
HSVhsv(215, 56%, 69%)
CMYKcmyk(55.9%, 32.2%, 0%, 30.6%)
CIE-LABlab(49.77, 2.53, -34.66)
CIE-LCHlch(49.77, 34.75, 274.18°)
OKLaboklab(56.74% -0.0237 -0.0977)
OKLCHoklch(56.74% 0.101 256.3)
XYZxyz(17.7914, 18.2255, 44.1668)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78B1 #B1874E
analogous
#4EAAB1 #4E78B1 #554EB1
triadic
#4E78B1 #B14E78 #78B14E
tetradic
#4E78B1 #B14EAA #B1874E #4EB155
square
#4E78B1 #B14EAA #B1874E #4EB155
split-complementary
#4E78B1 #B1554E #AAB14E
monochromatic
#293E5C #3B5B87 #4E78B1 #7898C4 #A3B9D6

Accessibility & contrast

On white

4.52
#4E78B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4E78B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78B1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78B1#FFFFFF#000000##000000
##4E78B11.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#617CB3
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#09858C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4e78b1;
/* rgb */ color: rgb(78, 120, 177);
/* oklch */ color: oklch(56.7% 0.101 256.3);
Tailwind
colors: {
  custom: {
    50: '#879ec8',
    500: '#4e78b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e78b1;
$custom-light: #879ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78b1",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 177
  },
  "hsl": {
    "h": 214.545,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.56737,
    "c": 0.10051,
    "h": 256.3
  },
  "luminance": 0.18227
}

Semantic roles & 50–950 ramp

primary
#4E78B1
secondary
#C4B197
accent
#9D59CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E78B1

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

Preview Lab → · Contrast checker → · Palette generator →

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