#4D78DE#4D78DE

#4D78DE is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.4% C 0.163 H 264.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4D78DE
RGBrgb(77, 120, 222)
HSLhsl(222, 69%, 59%)
HSVhsv(222, 65%, 87%)
CMYKcmyk(65.3%, 45.9%, 0%, 12.9%)
CIE-LABlab(52.16, 17.61, -56.57)
CIE-LCHlch(52.16, 59.25, 287.29°)
OKLaboklab(59.36% -0.0149 -0.1618)
OKLCHoklch(59.36% 0.163 264.7)
XYZxyz(22.9573, 20.2825, 71.7981)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78DE #DEB34D
analogous
#4DC0DE #4D78DE #6A4DDE
triadic
#4D78DE #DE4D78 #78DE4D
tetradic
#4D78DE #DE4DC0 #DEB34D #4DDE6A
square
#4D78DE #DE4DC0 #DEB34D #4DDE6A
split-complementary
#4D78DE #DE6A4D #C0DE4D
monochromatic
#1C4095 #2556C9 #4D78DE #819FE8 #B4C6F1

Accessibility & contrast

On white

4.15
#4D78DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4D78DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D78DE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D78DE#FFFFFF#000000##000000
##4D78DE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E2
Deuteranopia (green-blind)
#2976DC
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d78de;
/* rgb */ color: rgb(77, 120, 222);
/* oklch */ color: oklch(59.4% 0.163 264.7);
Tailwind
colors: {
  custom: {
    50: '#8d9ee9',
    500: '#4d78de',
    950: '#000000',
  },
}
SCSS
$custom: #4d78de;
$custom-light: #8d9ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78de",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 222.207,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59362,
    "c": 0.16252,
    "h": 264.7
  },
  "luminance": 0.20285
}

Semantic roles & 50–950 ramp

primary
#4D78DE
secondary
#E0CFA7
accent
#B83CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D78DE

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

Preview Lab → · Contrast checker → · Palette generator →

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