#4C78DD#4C78DD

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

Color values

HEX#4C78DD
RGBrgb(76, 120, 221)
HSLhsl(222, 68%, 58%)
HSVhsv(222, 66%, 87%)
CMYKcmyk(65.6%, 45.7%, 0%, 13.3%)
CIE-LABlab(52.05, 17.10, -56.18)
CIE-LCHlch(52.05, 58.73, 286.93°)
OKLaboklab(59.25% -0.0159 -0.1607)
OKLCHoklch(59.25% 0.161 264.3)
XYZxyz(22.7435, 20.1877, 71.0906)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C78DD #DDB14C
analogous
#4CC0DD #4C78DD #684CDD
triadic
#4C78DD #DD4C78 #78DD4C
tetradic
#4C78DD #DD4CC0 #DDB14C #4CDD68
square
#4C78DD #DD4CC0 #DDB14C #4CDD68
split-complementary
#4C78DD #DD684C #C0DD4C
monochromatic
#1C4093 #2656C6 #4C78DD #7F9FE7 #B3C6F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C78DD#FFFFFF#000000##000000
##4C78DD1.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)
#4683E1
Deuteranopia (green-blind)
#2A76DB
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c78dd;
/* rgb */ color: rgb(76, 120, 221);
/* oklch */ color: oklch(59.2% 0.161 264.3);
Tailwind
colors: {
  custom: {
    50: '#8c9ee8',
    500: '#4c78dd',
    950: '#000000',
  },
}
SCSS
$custom: #4c78dd;
$custom-light: #8c9ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c78dd",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 221.793,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59248,
    "c": 0.16149,
    "h": 264.3
  },
  "luminance": 0.2019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C78DD

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

Preview Lab → · Contrast checker → · Palette generator →

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