#4E78D9#4E78D9

#4E78D9 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.1% C 0.155 H 264.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4E78D9
RGBrgb(78, 120, 217)
HSLhsl(222, 65%, 58%)
HSVhsv(222, 64%, 85%)
CMYKcmyk(64.1%, 44.7%, 0%, 14.9%)
CIE-LABlab(51.91, 16.05, -54.15)
CIE-LCHlch(51.91, 56.48, 286.51°)
OKLaboklab(59.09% -0.0148 -0.1547)
OKLCHoklch(59.09% 0.155 264.5)
XYZxyz(22.3784, 20.0603, 68.3249)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78D9 #D9AF4E
analogous
#4EBDD9 #4E78D9 #6A4ED9
triadic
#4E78D9 #D94E78 #78D94E
tetradic
#4E78D9 #D94EBD #D9AF4E #4ED96A
square
#4E78D9 #D94EBD #D9AF4E #4ED96A
split-complementary
#4E78D9 #D96A4E #BDD94E
monochromatic
#1F408E #2957C0 #4E78D9 #809EE4 #B3C5EF

Accessibility & contrast

On white

4.19
#4E78D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#4E78D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78D9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78D9#FFFFFF#000000##000000
##4E78D91.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DD
Deuteranopia (green-blind)
#3276D7
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e78d9;
/* rgb */ color: rgb(78, 120, 217);
/* oklch */ color: oklch(59.1% 0.155 264.5);
Tailwind
colors: {
  custom: {
    50: '#8d9ee5',
    500: '#4e78d9',
    950: '#000000',
  },
}
SCSS
$custom: #4e78d9;
$custom-light: #8d9ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78d9",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 217
  },
  "hsl": {
    "h": 221.871,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59087,
    "c": 0.1554,
    "h": 264.5
  },
  "luminance": 0.20062
}

Semantic roles & 50–950 ramp

primary
#4E78D9
secondary
#DDCCA6
accent
#B540E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E78D9

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

Preview Lab → · Contrast checker → · Palette generator →

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