#4D78CF#4D78CF

#4D78CF is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.4% C 0.142 H 262.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4D78CF
RGBrgb(77, 120, 207)
HSLhsl(220, 58%, 56%)
HSVhsv(220, 63%, 81%)
CMYKcmyk(62.8%, 42%, 0%, 18.8%)
CIE-LABlab(51.28, 12.43, -49.48)
CIE-LCHlch(51.28, 51.01, 284.10°)
OKLaboklab(58.41% -0.0175 -0.141)
OKLCHoklch(58.41% 0.142 262.9)
XYZxyz(21.0356, 19.5138, 61.6774)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78CF #CFA44D
analogous
#4DB9CF #4D78CF #634DCF
triadic
#4D78CF #CF4D78 #78CF4D
tetradic
#4D78CF #CF4DB9 #CFA44D #4DCF63
square
#4D78CF #CF4DB9 #CFA44D #4DCF63
split-complementary
#4D78CF #CF634D #B9CF4D
monochromatic
#22417F #2F5AAF #4D78CF #7D9DDC #ADC1E9

Accessibility & contrast

On white

4.28
#4D78CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4D78CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D78CF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D78CF#FFFFFF#000000##000000
##4D78CF1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5081D2
Deuteranopia (green-blind)
#3D75CD
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d78cf;
/* rgb */ color: rgb(77, 120, 207);
/* oklch */ color: oklch(58.4% 0.142 262.9);
Tailwind
colors: {
  custom: {
    50: '#8b9ede',
    500: '#4d78cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d78cf;
$custom-light: #8b9ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78cf",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 220.154,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5841,
    "c": 0.14207,
    "h": 262.9
  },
  "luminance": 0.19516
}

Semantic roles & 50–950 ramp

primary
#4D78CF
secondary
#D7C5A1
accent
#AE47E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D78CF

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

Preview Lab → · Contrast checker → · Palette generator →

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