#4782D7#4782D7

#4782D7 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.8% C 0.144 H 257.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4782D7
RGBrgb(71, 130, 215)
HSLhsl(215, 64%, 56%)
HSVhsv(215, 67%, 84%)
CMYKcmyk(67%, 39.5%, 0%, 15.7%)
CIE-LABlab(54.25, 8.07, -49.30)
CIE-LCHlch(54.25, 49.96, 279.30°)
OKLaboklab(60.78% -0.0306 -0.1404)
OKLCHoklch(60.78% 0.144 257.7)
XYZxyz(22.8425, 22.2088, 67.3597)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4782D7 #D79C47
analogous
#47CAD7 #4782D7 #5447D7
triadic
#4782D7 #D74782 #82D747
tetradic
#4782D7 #D747CA #D79C47 #47D754
square
#4782D7 #D747CA #D79C47 #47D754
split-complementary
#4782D7 #D75447 #CAD747
monochromatic
#1D4886 #2863B9 #4782D7 #79A4E2 #ACC6ED

Accessibility & contrast

On white

3.86
#4782D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#4782D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4782D7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4782D7#FFFFFF#000000##000000
##4782D71.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4782d7;
/* rgb */ color: rgb(71, 130, 215);
/* oklch */ color: oklch(60.8% 0.144 257.7);
Tailwind
colors: {
  custom: {
    50: '#89a5e4',
    500: '#4782d7',
    950: '#000000',
  },
}
SCSS
$custom: #4782d7;
$custom-light: #89a5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4782d7",
  "rgb": {
    "r": 71,
    "g": 130,
    "b": 215
  },
  "hsl": {
    "h": 215.417,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60776,
    "c": 0.14373,
    "h": 257.7
  },
  "luminance": 0.22211
}

Semantic roles & 50–950 ramp

primary
#4782D7
secondary
#DBC29F
accent
#A341E7
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #4782D7

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

Preview Lab → · Contrast checker → · Palette generator →

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