#4E78DD#4E78DD

#4E78DD is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.3% C 0.161 H 264.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4E78DD
RGBrgb(78, 120, 221)
HSLhsl(222, 68%, 59%)
HSVhsv(222, 65%, 87%)
CMYKcmyk(64.7%, 45.7%, 0%, 13.3%)
CIE-LABlab(52.14, 17.43, -56.03)
CIE-LCHlch(52.14, 58.67, 287.28°)
OKLaboklab(59.35% -0.0142 -0.1602)
OKLCHoklch(59.35% 0.161 264.9)
XYZxyz(22.9050, 20.2710, 71.0982)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78DD #DDB34E
analogous
#4EBFDD #4E78DD #6B4EDD
triadic
#4E78DD #DD4E78 #78DD4E
tetradic
#4E78DD #DD4EBF #DDB34E #4EDD6B
square
#4E78DD #DD4EBF #DDB34E #4EDD6B
split-complementary
#4E78DD #DD6B4E #BFDD4E
monochromatic
#1C4094 #2656C7 #4E78DD #819FE7 #B5C6F1

Accessibility & contrast

On white

4.15
#4E78DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4E78DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78DD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78DD#FFFFFF#000000##000000
##4E78DD1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E1
Deuteranopia (green-blind)
#2C76DB
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e78dd;
/* rgb */ color: rgb(78, 120, 221);
/* oklch */ color: oklch(59.3% 0.161 264.9);
Tailwind
colors: {
  custom: {
    50: '#8d9ee8',
    500: '#4e78dd',
    950: '#000000',
  },
}
SCSS
$custom: #4e78dd;
$custom-light: #8d9ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78dd",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 222.378,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59345,
    "c": 0.16084,
    "h": 264.9
  },
  "luminance": 0.20273
}

Semantic roles & 50–950 ramp

primary
#4E78DD
secondary
#E0CFA7
accent
#B83DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E78DD

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

Preview Lab → · Contrast checker → · Palette generator →

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