#4D78E1#4D78E1

#4D78E1 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.6% C 0.167 H 265.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4D78E1
RGBrgb(77, 120, 225)
HSLhsl(223, 71%, 59%)
HSVhsv(223, 66%, 88%)
CMYKcmyk(65.8%, 46.7%, 0%, 11.8%)
CIE-LABlab(52.34, 18.65, -57.97)
CIE-LCHlch(52.34, 60.90, 287.84°)
OKLaboklab(59.56% -0.0145 -0.1659)
OKLCHoklch(59.56% 0.167 265)
XYZxyz(23.3629, 20.4447, 73.9346)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78E1 #E1B64D
analogous
#4DC2E1 #4D78E1 #6C4DE1
triadic
#4D78E1 #E14D78 #78E14D
tetradic
#4D78E1 #E14DC2 #E1B64D #4DE16C
square
#4D78E1 #E14DC2 #E1B64D #4DE16C
split-complementary
#4D78E1 #E16C4D #C2E14D
monochromatic
#1A3F9A #2355CE #4D78E1 #81A0EA #B6C7F3

Accessibility & contrast

On white

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

On black

5.09
#4D78E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D78E1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D78E1#FFFFFF#000000##000000
##4D78E11.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4284E5
Deuteranopia (green-blind)
#2476DF
Tritanopia (blue-blind)
#0090A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4d78e1;
/* rgb */ color: rgb(77, 120, 225);
/* oklch */ color: oklch(59.6% 0.167 265.0);
Tailwind
colors: {
  custom: {
    50: '#8e9eeb',
    500: '#4d78e1',
    950: '#000000',
  },
}
SCSS
$custom: #4d78e1;
$custom-light: #8e9eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78e1",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 225
  },
  "hsl": {
    "h": 222.568,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59559,
    "c": 0.16657,
    "h": 265
  },
  "luminance": 0.20447
}

Semantic roles & 50–950 ramp

primary
#4D78E1
secondary
#E2D1A8
accent
#BA3AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D78E1

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

Preview Lab → · Contrast checker → · Palette generator →

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