#4782D8#4782D8

#4782D8 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 60.8% C 0.145 H 257.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4782D8
RGBrgb(71, 130, 216)
HSLhsl(216, 65%, 56%)
HSVhsv(216, 67%, 85%)
CMYKcmyk(67.1%, 39.8%, 0%, 15.3%)
CIE-LABlab(54.30, 8.42, -49.78)
CIE-LCHlch(54.30, 50.48, 279.60°)
OKLaboklab(60.84% -0.0304 -0.1418)
OKLCHoklch(60.84% 0.145 257.9)
XYZxyz(22.9714, 22.2604, 68.0385)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4782D8 #D89D47
analogous
#47CBD8 #4782D8 #5547D8
triadic
#4782D8 #D84782 #82D847
tetradic
#4782D8 #D847CB #D89D47 #47D855
square
#4782D8 #D847CB #D89D47 #47D855
split-complementary
#4782D8 #D85547 #CBD847
monochromatic
#1D4888 #2763BA #4782D8 #79A4E3 #ACC7ED

Accessibility & contrast

On white

3.85
#4782D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4782D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4782D8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4782D8#FFFFFF#000000##000000
##4782D81.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B89DB
Deuteranopia (green-blind)
#457CD6
Tritanopia (blue-blind)
#0096A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4782d8;
/* rgb */ color: rgb(71, 130, 216);
/* oklch */ color: oklch(60.8% 0.145 257.9);
Tailwind
colors: {
  custom: {
    50: '#89a5e4',
    500: '#4782d8',
    950: '#000000',
  },
}
SCSS
$custom: #4782d8;
$custom-light: #89a5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4782d8",
  "rgb": {
    "r": 71,
    "g": 130,
    "b": 216
  },
  "hsl": {
    "h": 215.586,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60836,
    "c": 0.14506,
    "h": 257.9
  },
  "luminance": 0.22263
}

Semantic roles & 50–950 ramp

primary
#4782D8
secondary
#DBC3A0
accent
#A440E8
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4782D8

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

Preview Lab → · Contrast checker → · Palette generator →

#4782D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva