#4D78DC#4D78DC

#4D78DC is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.2% C 0.160 H 264.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4D78DC
RGBrgb(77, 120, 220)
HSLhsl(222, 67%, 58%)
HSVhsv(222, 65%, 86%)
CMYKcmyk(65%, 45.5%, 0%, 13.7%)
CIE-LABlab(52.04, 16.92, -55.64)
CIE-LCHlch(52.04, 58.15, 286.91°)
OKLaboklab(59.23% -0.0152 -0.1591)
OKLCHoklch(59.23% 0.16 264.5)
XYZxyz(22.6908, 20.1759, 70.3948)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78DC #DCB14D
analogous
#4DBFDC #4D78DC #694DDC
triadic
#4D78DC #DC4D78 #78DC4D
tetradic
#4D78DC #DC4DBF #DCB14D #4DDC69
square
#4D78DC #DC4DBF #DCB14D #4DDC69
split-complementary
#4D78DC #DC694D #BFDC4D
monochromatic
#1D4092 #2756C5 #4D78DC #809FE6 #B3C6F0

Accessibility & contrast

On white

4.17
#4D78DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4D78DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D78DC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D78DC#FFFFFF#000000##000000
##4D78DC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783E0
Deuteranopia (green-blind)
#2D76DA
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d78dc;
/* rgb */ color: rgb(77, 120, 220);
/* oklch */ color: oklch(59.2% 0.160 264.5);
Tailwind
colors: {
  custom: {
    50: '#8d9ee7',
    500: '#4d78dc',
    950: '#000000',
  },
}
SCSS
$custom: #4d78dc;
$custom-light: #8d9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78dc",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 221.958,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59232,
    "c": 0.15981,
    "h": 264.5
  },
  "luminance": 0.20178
}

Semantic roles & 50–950 ramp

primary
#4D78DC
secondary
#DFCEA6
accent
#B63EEA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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