#4A78DD#4A78DD

#4A78DD is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.2% C 0.162 H 263.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4A78DD
RGBrgb(74, 120, 221)
HSLhsl(221, 68%, 58%)
HSVhsv(221, 67%, 87%)
CMYKcmyk(66.5%, 45.7%, 0%, 13.3%)
CIE-LABlab(51.96, 16.78, -56.33)
CIE-LCHlch(51.96, 58.78, 286.59°)
OKLaboklab(59.15% -0.0176 -0.1612)
OKLCHoklch(59.15% 0.162 263.8)
XYZxyz(22.5871, 20.1070, 71.0833)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78DD #DDAF4A
analogous
#4AC2DD #4A78DD #654ADD
triadic
#4A78DD #DD4A78 #78DD4A
tetradic
#4A78DD #DD4AC2 #DDAF4A #4ADD65
square
#4A78DD #DD4AC2 #DDAF4A #4ADD65
split-complementary
#4A78DD #DD654A #C2DD4A
monochromatic
#1B4091 #2557C5 #4A78DD #7E9EE7 #B1C5F0

Accessibility & contrast

On white

4.18
#4A78DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4A78DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78DD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78DD#FFFFFF#000000##000000
##4A78DD1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E1
Deuteranopia (green-blind)
#2976DB
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a78dd;
/* rgb */ color: rgb(74, 120, 221);
/* oklch */ color: oklch(59.2% 0.162 263.8);
Tailwind
colors: {
  custom: {
    50: '#8b9ee8',
    500: '#4a78dd',
    950: '#000000',
  },
}
SCSS
$custom: #4a78dd;
$custom-light: #8b9ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78dd",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 221.224,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59154,
    "c": 0.16214,
    "h": 263.8
  },
  "luminance": 0.20109
}

Semantic roles & 50–950 ramp

primary
#4A78DD
secondary
#DFCCA4
accent
#B53DEB
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A78DD

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

Preview Lab → · Contrast checker → · Palette generator →

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