#4E78DB#4E78DB

#4E78DB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.2% C 0.158 H 264.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4E78DB
RGBrgb(78, 120, 219)
HSLhsl(222, 66%, 58%)
HSVhsv(222, 64%, 86%)
CMYKcmyk(64.4%, 45.2%, 0%, 14.1%)
CIE-LABlab(52.02, 16.74, -55.09)
CIE-LCHlch(52.02, 57.58, 286.90°)
OKLaboklab(59.22% -0.0145 -0.1575)
OKLCHoklch(59.22% 0.158 264.7)
XYZxyz(22.6401, 20.1650, 69.7032)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78DB #DBB14E
analogous
#4EBEDB #4E78DB #6A4EDB
triadic
#4E78DB #DB4E78 #78DB4E
tetradic
#4E78DB #DB4EBE #DBB14E #4EDB6A
square
#4E78DB #DB4EBE #DBB14E #4EDB6A
split-complementary
#4E78DB #DB6A4E #BEDB4E
monochromatic
#1E4091 #2856C4 #4E78DB #819FE5 #B4C6F0

Accessibility & contrast

On white

4.17
#4E78DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4E78DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78DB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78DB#FFFFFF#000000##000000
##4E78DB1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DF
Deuteranopia (green-blind)
#2F76D9
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e78db;
/* rgb */ color: rgb(78, 120, 219);
/* oklch */ color: oklch(59.2% 0.158 264.7);
Tailwind
colors: {
  custom: {
    50: '#8d9ee7',
    500: '#4e78db',
    950: '#000000',
  },
}
SCSS
$custom: #4e78db;
$custom-light: #8d9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78db",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 222.128,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59216,
    "c": 0.15813,
    "h": 264.7
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

primary
#4E78DB
secondary
#DECEA6
accent
#B63FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E78DB

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

Preview Lab → · Contrast checker → · Palette generator →

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