#4D78E0#4D78E0

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

Color values

HEX#4D78E0
RGBrgb(77, 120, 224)
HSLhsl(222, 70%, 59%)
HSVhsv(222, 66%, 88%)
CMYKcmyk(65.6%, 46.4%, 0%, 12.2%)
CIE-LABlab(52.28, 18.31, -57.50)
CIE-LCHlch(52.28, 60.35, 287.66°)
OKLaboklab(59.49% -0.0146 -0.1646)
OKLCHoklch(59.49% 0.165 264.9)
XYZxyz(23.2269, 20.3903, 73.2182)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78E0 #E0B54D
analogous
#4DC2E0 #4D78E0 #6C4DE0
triadic
#4D78E0 #E04D78 #78E04D
tetradic
#4D78E0 #E04DC2 #E0B54D #4DE06C
square
#4D78E0 #E04DC2 #E0B54D #4DE06C
split-complementary
#4D78E0 #E06C4D #C2E04D
monochromatic
#1A3F98 #2455CC #4D78E0 #81A0E9 #B5C7F2

Accessibility & contrast

On white

4.13
#4D78E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D78E0#FFFFFF#000000##000000
##4D78E01.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4384E4
Deuteranopia (green-blind)
#2676DE
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4d78e0;
/* rgb */ color: rgb(77, 120, 224);
/* oklch */ color: oklch(59.5% 0.165 264.9);
Tailwind
colors: {
  custom: {
    50: '#8d9eea',
    500: '#4d78e0',
    950: '#000000',
  },
}
SCSS
$custom: #4d78e0;
$custom-light: #8d9eea;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78e0",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 224
  },
  "hsl": {
    "h": 222.449,
    "s": 70.335,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59493,
    "c": 0.16523,
    "h": 264.9
  },
  "luminance": 0.20393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D78E0

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

Preview Lab → · Contrast checker → · Palette generator →

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