#4E78DC#4E78DC

#4E78DC is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.3% C 0.159 H 264.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E78DC
RGBrgb(78, 120, 220)
HSLhsl(222, 67%, 58%)
HSVhsv(222, 65%, 86%)
CMYKcmyk(64.5%, 45.5%, 0%, 13.7%)
CIE-LABlab(52.08, 17.09, -55.56)
CIE-LCHlch(52.08, 58.13, 287.09°)
OKLaboklab(59.28% -0.0144 -0.1588)
OKLCHoklch(59.28% 0.159 264.8)
XYZxyz(22.7721, 20.2178, 70.3986)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78DC #DCB24E
analogous
#4EBFDC #4E78DC #6B4EDC
triadic
#4E78DC #DC4E78 #78DC4E
tetradic
#4E78DC #DC4EBF #DCB24E #4EDC6B
square
#4E78DC #DC4EBF #DCB24E #4EDC6B
split-complementary
#4E78DC #DC6B4E #BFDC4E
monochromatic
#1D4093 #2756C6 #4E78DC #819FE6 #B4C6F0

Accessibility & contrast

On white

4.16
#4E78DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4E78DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78DC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78DC#FFFFFF#000000##000000
##4E78DC1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783E0
Deuteranopia (green-blind)
#2D76DA
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e78dc;
/* rgb */ color: rgb(78, 120, 220);
/* oklch */ color: oklch(59.3% 0.159 264.8);
Tailwind
colors: {
  custom: {
    50: '#8d9ee7',
    500: '#4e78dc',
    950: '#000000',
  },
}
SCSS
$custom: #4e78dc;
$custom-light: #8d9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78dc",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 222.254,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5928,
    "c": 0.15949,
    "h": 264.8
  },
  "luminance": 0.2022
}

Semantic roles & 50–950 ramp

primary
#4E78DC
secondary
#DFCEA7
accent
#B73EEA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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