#4D78E6#4D78E6

#4D78E6 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.9% C 0.173 H 265.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4D78E6
RGBrgb(77, 120, 230)
HSLhsl(223, 75%, 60%)
HSVhsv(223, 67%, 90%)
CMYKcmyk(66.5%, 47.8%, 0%, 9.8%)
CIE-LABlab(52.64, 20.39, -60.28)
CIE-LCHlch(52.64, 63.64, 288.69°)
OKLaboklab(59.89% -0.0138 -0.1727)
OKLCHoklch(59.89% 0.173 265.4)
XYZxyz(24.0550, 20.7216, 77.5795)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78E6 #E6BB4D
analogous
#4DC5E6 #4D78E6 #6E4DE6
triadic
#4D78E6 #E64D78 #78E64D
tetradic
#4D78E6 #E64DC5 #E6BB4D #4DE66E
square
#4D78E6 #E64DC5 #E6BB4D #4DE66E
split-complementary
#4D78E6 #E66E4D #C5E64D
monochromatic
#173EA2 #1E52D8 #4D78E6 #83A1EE #B8C9F5

Accessibility & contrast

On white

4.08
#4D78E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4D78E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D78E6
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D78E6#FFFFFF#000000##000000
##4D78E61.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D85EA
Deuteranopia (green-blind)
#1777E4
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d78e6;
/* rgb */ color: rgb(77, 120, 230);
/* oklch */ color: oklch(59.9% 0.173 265.4);
Tailwind
colors: {
  custom: {
    50: '#8e9eee',
    500: '#4d78e6',
    950: '#000000',
  },
}
SCSS
$custom: #4d78e6;
$custom-light: #8e9eee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78e6",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 230
  },
  "hsl": {
    "h": 223.137,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59892,
    "c": 0.1733,
    "h": 265.4
  },
  "luminance": 0.20724
}

Semantic roles & 50–950 ramp

primary
#4D78E6
secondary
#E5D4AA
accent
#9F0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4D78E6

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

Preview Lab → · Contrast checker → · Palette generator →

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