#4E78DE#4E78DE

#4E78DE is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.4% C 0.162 H 265.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4E78DE
RGBrgb(78, 120, 222)
HSLhsl(223, 69%, 59%)
HSVhsv(223, 65%, 87%)
CMYKcmyk(64.9%, 45.9%, 0%, 12.9%)
CIE-LABlab(52.20, 17.78, -56.49)
CIE-LCHlch(52.20, 59.22, 287.47°)
OKLaboklab(59.41% -0.0141 -0.1616)
OKLCHoklch(59.41% 0.162 265)
XYZxyz(23.0386, 20.3244, 71.8020)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78DE #DEB44E
analogous
#4EC0DE #4E78DE #6C4EDE
triadic
#4E78DE #DE4E78 #78DE4E
tetradic
#4E78DE #DE4EC0 #DEB44E #4EDE6C
square
#4E78DE #DE4EC0 #DEB44E #4EDE6C
split-complementary
#4E78DE #DE6C4E #C0DE4E
monochromatic
#1C3F96 #2655C9 #4E78DE #829FE8 #B5C7F1

Accessibility & contrast

On white

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

On black

5.07
#4E78DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78DE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78DE#FFFFFF#000000##000000
##4E78DE1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4584E2
Deuteranopia (green-blind)
#2A76DC
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e78de;
/* rgb */ color: rgb(78, 120, 222);
/* oklch */ color: oklch(59.4% 0.162 265.0);
Tailwind
colors: {
  custom: {
    50: '#8d9ee9',
    500: '#4e78de',
    950: '#000000',
  },
}
SCSS
$custom: #4e78de;
$custom-light: #8d9ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78de",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 222.5,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5941,
    "c": 0.1622,
    "h": 265
  },
  "luminance": 0.20327
}

Semantic roles & 50–950 ramp

primary
#4E78DE
secondary
#E0D0A8
accent
#B83CEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E78DE

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

Preview Lab → · Contrast checker → · Palette generator →

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