#4E78DF#4E78DF

#4E78DF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.5% C 0.164 H 265.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4E78DF
RGBrgb(78, 120, 223)
HSLhsl(223, 69%, 59%)
HSVhsv(223, 65%, 87%)
CMYKcmyk(65%, 46.2%, 0%, 12.5%)
CIE-LABlab(52.26, 18.12, -56.96)
CIE-LCHlch(52.26, 59.77, 287.65°)
OKLaboklab(59.48% -0.0139 -0.163)
OKLCHoklch(59.48% 0.164 265.1)
XYZxyz(23.1730, 20.3782, 72.5099)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78DF #DFB54E
analogous
#4EC0DF #4E78DF #6D4EDF
triadic
#4E78DF #DF4E78 #78DF4E
tetradic
#4E78DF #DF4EC0 #DFB54E #4EDF6D
square
#4E78DF #DF4EC0 #DFB54E #4EDF6D
split-complementary
#4E78DF #DF6D4E #C0DF4E
monochromatic
#1B3F97 #2555CB #4E78DF #82A0E8 #B6C7F2

Accessibility & contrast

On white

4.14
#4E78DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4E78DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78DF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78DF#FFFFFF#000000##000000
##4E78DF1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4484E3
Deuteranopia (green-blind)
#2876DD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e78df;
/* rgb */ color: rgb(78, 120, 223);
/* oklch */ color: oklch(59.5% 0.164 265.1);
Tailwind
colors: {
  custom: {
    50: '#8e9ee9',
    500: '#4e78df',
    950: '#000000',
  },
}
SCSS
$custom: #4e78df;
$custom-light: #8e9ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78df",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 222.621,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59476,
    "c": 0.16355,
    "h": 265.1
  },
  "luminance": 0.2038
}

Semantic roles & 50–950 ramp

primary
#4E78DF
secondary
#E1D0A8
accent
#B93CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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