#4D78E8#4D78E8

#4D78E8 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.0% C 0.176 H 265.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4D78E8
RGBrgb(77, 120, 232)
HSLhsl(223, 77%, 61%)
HSVhsv(223, 67%, 91%)
CMYKcmyk(66.8%, 48.3%, 0%, 9%)
CIE-LABlab(52.77, 21.09, -61.20)
CIE-LCHlch(52.77, 64.73, 289.01°)
OKLaboklab(60.03% -0.0136 -0.1754)
OKLCHoklch(60.03% 0.176 265.6)
XYZxyz(24.3375, 20.8345, 79.0672)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78E8 #E8BD4D
analogous
#4DC5E8 #4D78E8 #6F4DE8
triadic
#4D78E8 #E84D78 #78E84D
tetradic
#4D78E8 #E84DC5 #E8BD4D #4DE86F
square
#4D78E8 #E84DC5 #E8BD4D #4DE86F
split-complementary
#4D78E8 #E86F4D #C5E84D
monochromatic
#153DA5 #1C51DB #4D78E8 #83A1EF #B9CAF6

Accessibility & contrast

On white

4.06
#4D78E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4D78E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D78E8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D78E8#FFFFFF#000000##000000
##4D78E81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EC
Deuteranopia (green-blind)
#0F77E6
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d78e8;
/* rgb */ color: rgb(77, 120, 232);
/* oklch */ color: oklch(60.0% 0.176 265.6);
Tailwind
colors: {
  custom: {
    50: '#8f9ef0',
    500: '#4d78e8',
    950: '#000000',
  },
}
SCSS
$custom: #4d78e8;
$custom-light: #8f9ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78e8",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 223.355,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60027,
    "c": 0.17597,
    "h": 265.6
  },
  "luminance": 0.20837
}

Semantic roles & 50–950 ramp

primary
#4D78E8
secondary
#E6D6AB
accent
#A00CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4D78E8

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

Preview Lab → · Contrast checker → · Palette generator →

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