#4782DC#4782DC

#4782DC is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.1% C 0.150 H 258.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4782DC
RGBrgb(71, 130, 220)
HSLhsl(216, 68%, 57%)
HSVhsv(216, 68%, 86%)
CMYKcmyk(67.7%, 40.9%, 0%, 13.7%)
CIE-LABlab(54.52, 9.82, -51.68)
CIE-LCHlch(54.52, 52.60, 280.76°)
OKLaboklab(61.08% -0.0296 -0.1474)
OKLCHoklch(61.08% 0.15 258.7)
XYZxyz(23.4948, 22.4698, 70.7952)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4782DC #DCA147
analogous
#47CCDC #4782DC #5747DC
triadic
#4782DC #DC4782 #82DC47
tetradic
#4782DC #DC47CC #DCA147 #47DC57
square
#4782DC #DC47CC #DCA147 #47DC57
split-complementary
#4782DC #DC5747 #CCDC47
monochromatic
#1B488E #2563C1 #4782DC #7AA5E6 #AEC8F0

Accessibility & contrast

On white

3.82
#4782DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#4782DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4782DC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4782DC#FFFFFF#000000##000000
##4782DC1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#588AE0
Deuteranopia (green-blind)
#417CDA
Tritanopia (blue-blind)
#0097A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4782dc;
/* rgb */ color: rgb(71, 130, 220);
/* oklch */ color: oklch(61.1% 0.150 258.7);
Tailwind
colors: {
  custom: {
    50: '#8aa5e7',
    500: '#4782dc',
    950: '#000000',
  },
}
SCSS
$custom: #4782dc;
$custom-light: #8aa5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4782dc",
  "rgb": {
    "r": 71,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 216.242,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61078,
    "c": 0.15035,
    "h": 258.7
  },
  "luminance": 0.22472
}

Semantic roles & 50–950 ramp

primary
#4782DC
secondary
#DEC6A1
accent
#A63DEB
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4782DC

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

Preview Lab → · Contrast checker → · Palette generator →

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