#4784DC#4784DC

#4784DC is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.5% C 0.148 H 257.7°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4784DC
RGBrgb(71, 132, 220)
HSLhsl(215, 68%, 57%)
HSVhsv(215, 68%, 86%)
CMYKcmyk(67.7%, 40%, 0%, 13.7%)
CIE-LABlab(55.08, 8.61, -50.79)
CIE-LCHlch(55.08, 51.51, 279.62°)
OKLaboklab(61.51% -0.0315 -0.1448)
OKLCHoklch(61.51% 0.148 257.7)
XYZxyz(23.7634, 23.0070, 70.8847)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4784DC #DC9F47
analogous
#47CFDC #4784DC #5447DC
triadic
#4784DC #DC4784 #84DC47
tetradic
#4784DC #DC47CF #DC9F47 #47DC54
square
#4784DC #DC47CF #DC9F47 #47DC54
split-complementary
#4784DC #DC5447 #CFDC47
monochromatic
#1B4A8E #2565C1 #4784DC #7AA6E6 #AEC9F0

Accessibility & contrast

On white

3.75
#4784DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#4784DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4784DC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4784DC#FFFFFF#000000##000000
##4784DC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8BDF
Deuteranopia (green-blind)
#447DDA
Tritanopia (blue-blind)
#0098A5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4784dc;
/* rgb */ color: rgb(71, 132, 220);
/* oklch */ color: oklch(61.5% 0.148 257.7);
Tailwind
colors: {
  custom: {
    50: '#8aa7e7',
    500: '#4784dc',
    950: '#000000',
  },
}
SCSS
$custom: #4784dc;
$custom-light: #8aa7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4784dc",
  "rgb": {
    "r": 71,
    "g": 132,
    "b": 220
  },
  "hsl": {
    "h": 215.436,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6151,
    "c": 0.14815,
    "h": 257.7
  },
  "luminance": 0.23009
}

Semantic roles & 50–950 ramp

primary
#4784DC
secondary
#DEC5A1
accent
#A43DEB
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4784DC

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

Preview Lab → · Contrast checker → · Palette generator →

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