#4E78BC#4E78BC

#4E78BC is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.3% C 0.116 H 259.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4E78BC
RGBrgb(78, 120, 188)
HSLhsl(217, 45%, 52%)
HSVhsv(217, 59%, 74%)
CMYKcmyk(58.5%, 36.2%, 0%, 26.3%)
CIE-LABlab(50.31, 6.17, -40.15)
CIE-LCHlch(50.31, 40.62, 278.74°)
OKLaboklab(57.34% -0.0208 -0.1137)
OKLCHoklch(57.34% 0.116 259.6)
XYZxyz(18.9323, 18.6819, 50.1755)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78BC #BC924E
analogous
#4EAFBC #4E78BC #5B4EBC
triadic
#4E78BC #BC4E78 #78BC4E
tetradic
#4E78BC #BC4EAF #BC924E #4EBC5B
square
#4E78BC #BC4EAF #BC924E #4EBC5B
split-complementary
#4E78BC #BC5B4E #AFBC4E
monochromatic
#274068 #385B95 #4E78BC #7A9ACD #A7BCDE

Accessibility & contrast

On white

4.43
#4E78BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4E78BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78BC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78BC#FFFFFF#000000##000000
##4E78BC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBF
Deuteranopia (green-blind)
#4D73BB
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e78bc;
/* rgb */ color: rgb(78, 120, 188);
/* oklch */ color: oklch(57.3% 0.116 259.6);
Tailwind
colors: {
  custom: {
    50: '#889ed0',
    500: '#4e78bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e78bc;
$custom-light: #889ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78bc",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 217.091,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5734,
    "c": 0.11555,
    "h": 259.6
  },
  "luminance": 0.18683
}

Semantic roles & 50–950 ramp

primary
#4E78BC
secondary
#CBB99B
accent
#A353D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4E78BC

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

Preview Lab → · Contrast checker → · Palette generator →

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