#4E78CD#4E78CD

#4E78CD is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.3% C 0.139 H 263.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4E78CD
RGBrgb(78, 120, 205)
HSLhsl(220, 56%, 55%)
HSVhsv(220, 62%, 80%)
CMYKcmyk(62%, 41.5%, 0%, 19.6%)
CIE-LABlab(51.22, 11.93, -48.44)
CIE-LCHlch(51.22, 49.88, 283.83°)
OKLaboklab(58.34% -0.017 -0.1379)
OKLCHoklch(58.34% 0.139 263)
XYZxyz(20.8740, 19.4586, 60.4016)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78CD #CDA34E
analogous
#4EB8CD #4E78CD #634ECD
triadic
#4E78CD #CD4E78 #78CD4E
tetradic
#4E78CD #CD4EB8 #CDA34E #4ECD63
square
#4E78CD #CD4EB8 #CDA34E #4ECD63
split-complementary
#4E78CD #CD634E #B8CD4E
monochromatic
#23417D #315AAD #4E78CD #7E9CDA #ADC1E8

Accessibility & contrast

On white

4.29
#4E78CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4E78CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78CD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78CD#FFFFFF#000000##000000
##4E78CD1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280D0
Deuteranopia (green-blind)
#3F75CB
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e78cd;
/* rgb */ color: rgb(78, 120, 205);
/* oklch */ color: oklch(58.3% 0.139 263.0);
Tailwind
colors: {
  custom: {
    50: '#8b9edd',
    500: '#4e78cd',
    950: '#000000',
  },
}
SCSS
$custom: #4e78cd;
$custom-light: #8b9edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78cd",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 220.157,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58337,
    "c": 0.13897,
    "h": 263
  },
  "luminance": 0.1946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E78CD

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

Preview Lab → · Contrast checker → · Palette generator →

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