#4782D9#4782D9

#4782D9 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 60.9% C 0.146 H 258.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4782D9
RGBrgb(71, 130, 217)
HSLhsl(216, 66%, 56%)
HSVhsv(216, 67%, 85%)
CMYKcmyk(67.3%, 40.1%, 0%, 14.9%)
CIE-LABlab(54.36, 8.77, -50.25)
CIE-LCHlch(54.36, 51.01, 279.90°)
OKLaboklab(60.9% -0.0302 -0.1432)
OKLCHoklch(60.9% 0.146 258.1)
XYZxyz(23.1010, 22.3123, 68.7214)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4782D9 #D99E47
analogous
#47CBD9 #4782D9 #5547D9
triadic
#4782D9 #D94782 #82D947
tetradic
#4782D9 #D947CB #D99E47 #47D955
square
#4782D9 #D947CB #D99E47 #47D955
split-complementary
#4782D9 #D95547 #CBD947
monochromatic
#1C4889 #2763BC #4782D9 #7AA4E3 #ACC7EE

Accessibility & contrast

On white

3.84
#4782D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4782D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4782D9
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4782D9#FFFFFF#000000##000000
##4782D91.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A89DC
Deuteranopia (green-blind)
#447CD7
Tritanopia (blue-blind)
#0096A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4782d9;
/* rgb */ color: rgb(71, 130, 217);
/* oklch */ color: oklch(60.9% 0.146 258.1);
Tailwind
colors: {
  custom: {
    50: '#89a5e5',
    500: '#4782d9',
    950: '#000000',
  },
}
SCSS
$custom: #4782d9;
$custom-light: #89a5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4782d9",
  "rgb": {
    "r": 71,
    "g": 130,
    "b": 217
  },
  "hsl": {
    "h": 215.753,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60896,
    "c": 0.14638,
    "h": 258.1
  },
  "luminance": 0.22315
}

Semantic roles & 50–950 ramp

primary
#4782D9
secondary
#DCC4A0
accent
#A43FE9
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4782D9

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

Preview Lab → · Contrast checker → · Palette generator →

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