#4C82D4#4C82D4

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

Color values

HEX#4C82D4
RGBrgb(76, 130, 212)
HSLhsl(216, 61%, 56%)
HSVhsv(216, 64%, 83%)
CMYKcmyk(64.2%, 38.7%, 0%, 16.9%)
CIE-LABlab(54.29, 7.87, -47.52)
CIE-LCHlch(54.29, 48.17, 279.41°)
OKLaboklab(60.82% -0.0274 -0.1351)
OKLCHoklch(60.82% 0.138 258.5)
XYZxyz(22.8425, 22.2530, 65.3661)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C82D4 #D49E4C
analogous
#4CC6D4 #4C82D4 #5A4CD4
triadic
#4C82D4 #D44C82 #82D44C
tetradic
#4C82D4 #D44CC6 #D49E4C #4CD45A
square
#4C82D4 #D44CC6 #D49E4C #4CD45A
split-complementary
#4C82D4 #D45A4C #C6D44C
monochromatic
#204886 #2C63B7 #4C82D4 #7DA4E0 #AFC7EC

Accessibility & contrast

On white

3.85
#4C82D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4C82D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C82D4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C82D4#FFFFFF#000000##000000
##4C82D41.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)
#5E89D7
Deuteranopia (green-blind)
#4A7CD2
Tritanopia (blue-blind)
#0095A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4c82d4;
/* rgb */ color: rgb(76, 130, 212);
/* oklch */ color: oklch(60.8% 0.138 258.5);
Tailwind
colors: {
  custom: {
    50: '#8ba5e1',
    500: '#4c82d4',
    950: '#000000',
  },
}
SCSS
$custom: #4c82d4;
$custom-light: #8ba5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c82d4",
  "rgb": {
    "r": 76,
    "g": 130,
    "b": 212
  },
  "hsl": {
    "h": 216.176,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60817,
    "c": 0.13789,
    "h": 258.5
  },
  "luminance": 0.22255
}

Semantic roles & 50–950 ramp

primary
#4C82D4
secondary
#DAC4A2
accent
#A443E4
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4C82D4

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

Preview Lab → · Contrast checker → · Palette generator →

#4C82D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva