#4D78F0#4D78F0

#4D78F0 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.6% C 0.187 H 266.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4D78F0
RGBrgb(77, 120, 240)
HSLhsl(224, 84%, 62%)
HSVhsv(224, 68%, 94%)
CMYKcmyk(67.9%, 50%, 0%, 5.9%)
CIE-LABlab(53.28, 23.88, -64.85)
CIE-LCHlch(53.28, 69.11, 290.21°)
OKLaboklab(60.58% -0.0126 -0.1862)
OKLCHoklch(60.58% 0.187 266.1)
XYZxyz(25.4997, 21.2995, 85.1885)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78F0 #F0C54D
analogous
#4DC9F0 #4D78F0 #744DF0
triadic
#4D78F0 #F04D78 #78F04D
tetradic
#4D78F0 #F04DC9 #F0C54D #4DF074
square
#4D78F0 #F04DC9 #F0C54D #4DF074
split-complementary
#4D78F0 #F0744D #C9F04D
monochromatic
#0F3AB3 #154DEB #4D78F0 #85A3F5 #BECEFA

Accessibility & contrast

On white

3.99
#4D78F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4D78F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D78F0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D78F0#FFFFFF#000000##000000
##4D78F01.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3187F4
Deuteranopia (green-blind)
#0078EE
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d78f0;
/* rgb */ color: rgb(77, 120, 240);
/* oklch */ color: oklch(60.6% 0.187 266.1);
Tailwind
colors: {
  custom: {
    50: '#909ef6',
    500: '#4d78f0',
    950: '#000000',
  },
}
SCSS
$custom: #4d78f0;
$custom-light: #909ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78f0",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 240
  },
  "hsl": {
    "h": 224.172,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60576,
    "c": 0.18662,
    "h": 266.1
  },
  "luminance": 0.21302
}

Semantic roles & 50–950 ramp

primary
#4D78F0
secondary
#EADBAE
accent
#A705E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4D78F0

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

Preview Lab → · Contrast checker → · Palette generator →

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