#4E78B2#4E78B2

#4E78B2 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.8% C 0.102 H 256.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4E78B2
RGBrgb(78, 120, 178)
HSLhsl(215, 39%, 50%)
HSVhsv(215, 56%, 70%)
CMYKcmyk(56.2%, 32.6%, 0%, 30.2%)
CIE-LABlab(49.82, 2.86, -35.16)
CIE-LCHlch(49.82, 35.28, 274.65°)
OKLaboklab(56.79% -0.0234 -0.0991)
OKLCHoklch(56.79% 0.102 256.7)
XYZxyz(17.8914, 18.2655, 44.6936)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78B2 #B2884E
analogous
#4EAAB2 #4E78B2 #564EB2
triadic
#4E78B2 #B24E78 #78B24E
tetradic
#4E78B2 #B24EAA #B2884E #4EB256
square
#4E78B2 #B24EAA #B2884E #4EB256
split-complementary
#4E78B2 #B2564E #AAB24E
monochromatic
#293F5D #3B5B88 #4E78B2 #7999C5 #A3B9D7

Accessibility & contrast

On white

4.51
#4E78B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E78B2#FFFFFF#000000##000000
##4E78B21.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#607CB4
Deuteranopia (green-blind)
#5472B1
Tritanopia (blue-blind)
#05858D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4e78b2;
/* rgb */ color: rgb(78, 120, 178);
/* oklch */ color: oklch(56.8% 0.102 256.7);
Tailwind
colors: {
  custom: {
    50: '#879ec9',
    500: '#4e78b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e78b2;
$custom-light: #879ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78b2",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 178
  },
  "hsl": {
    "h": 214.8,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5679,
    "c": 0.10186,
    "h": 256.7
  },
  "luminance": 0.18267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E78B2

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

Preview Lab → · Contrast checker → · Palette generator →

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