#4D78DD#4D78DD

#4D78DD is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.3% C 0.161 H 264.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4D78DD
RGBrgb(77, 120, 221)
HSLhsl(222, 68%, 58%)
HSVhsv(222, 65%, 87%)
CMYKcmyk(65.2%, 45.7%, 0%, 13.3%)
CIE-LABlab(52.10, 17.27, -56.10)
CIE-LCHlch(52.10, 58.70, 287.11°)
OKLaboklab(59.3% -0.0151 -0.1605)
OKLCHoklch(59.3% 0.161 264.6)
XYZxyz(22.8236, 20.2290, 71.0944)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78DD #DDB24D
analogous
#4DC0DD #4D78DD #6A4DDD
triadic
#4D78DD #DD4D78 #78DD4D
tetradic
#4D78DD #DD4DC0 #DDB24D #4DDD6A
square
#4D78DD #DD4DC0 #DDB24D #4DDD6A
split-complementary
#4D78DD #DD6A4D #C0DD4D
monochromatic
#1C4093 #2656C7 #4D78DD #809FE7 #B4C6F1

Accessibility & contrast

On white

4.16
#4D78DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4D78DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D78DD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D78DD#FFFFFF#000000##000000
##4D78DD1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E1
Deuteranopia (green-blind)
#2B76DB
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d78dd;
/* rgb */ color: rgb(77, 120, 221);
/* oklch */ color: oklch(59.3% 0.161 264.6);
Tailwind
colors: {
  custom: {
    50: '#8d9ee8',
    500: '#4d78dd',
    950: '#000000',
  },
}
SCSS
$custom: #4d78dd;
$custom-light: #8d9ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78dd",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 222.083,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59297,
    "c": 0.16117,
    "h": 264.6
  },
  "luminance": 0.20231
}

Semantic roles & 50–950 ramp

primary
#4D78DD
secondary
#DFCEA6
accent
#B73DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D78DD

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

Preview Lab → · Contrast checker → · Palette generator →

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