#4E78CC#4E78CC

#4E78CC is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.3% C 0.138 H 262.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4E78CC
RGBrgb(78, 120, 204)
HSLhsl(220, 55%, 55%)
HSVhsv(220, 62%, 80%)
CMYKcmyk(61.8%, 41.2%, 0%, 20%)
CIE-LABlab(51.16, 11.58, -47.96)
CIE-LCHlch(51.16, 49.34, 283.58°)
OKLaboklab(58.28% -0.0172 -0.1365)
OKLCHoklch(58.28% 0.138 262.8)
XYZxyz(20.7536, 19.4104, 59.7679)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78CC #CCA24E
analogous
#4EB7CC #4E78CC #634ECC
triadic
#4E78CC #CC4E78 #78CC4E
tetradic
#4E78CC #CC4EB7 #CCA24E #4ECC63
square
#4E78CC #CC4EB7 #CCA24E #4ECC63
split-complementary
#4E78CC #CC634E #B7CC4E
monochromatic
#24417C #315AAB #4E78CC #7E9CDA #ADC0E7

Accessibility & contrast

On white

4.30
#4E78CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4E78CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78CC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78CC#FFFFFF#000000##000000
##4E78CC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CF
Deuteranopia (green-blind)
#4075CA
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e78cc;
/* rgb */ color: rgb(78, 120, 204);
/* oklch */ color: oklch(58.3% 0.138 262.8);
Tailwind
colors: {
  custom: {
    50: '#8b9edc',
    500: '#4e78cc',
    950: '#000000',
  },
}
SCSS
$custom: #4e78cc;
$custom-light: #8b9edc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78cc",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 220,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58276,
    "c": 0.1376,
    "h": 262.8
  },
  "luminance": 0.19412
}

Semantic roles & 50–950 ramp

primary
#4E78CC
secondary
#D5C4A1
accent
#AD49DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E78CC

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

Preview Lab → · Contrast checker → · Palette generator →

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