#4C82DC#4C82DC

#4C82DC is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.3% C 0.149 H 260.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4C82DC
RGBrgb(76, 130, 220)
HSLhsl(218, 67%, 58%)
HSVhsv(218, 65%, 86%)
CMYKcmyk(65.5%, 40.9%, 0%, 13.7%)
CIE-LABlab(54.73, 10.63, -51.34)
CIE-LCHlch(54.73, 52.42, 281.70°)
OKLaboklab(61.29% -0.0257 -0.1463)
OKLCHoklch(61.29% 0.149 260)
XYZxyz(23.8768, 22.6667, 70.8131)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C82DC #DCA64C
analogous
#4CCADC #4C82DC #5E4CDC
triadic
#4C82DC #DC4C82 #82DC4C
tetradic
#4C82DC #DC4CCA #DCA64C #4CDC5E
square
#4C82DC #DC4CCA #DCA64C #4CDC5E
split-complementary
#4C82DC #DC5E4C #CADC4C
monochromatic
#1C4891 #2662C4 #4C82DC #7FA6E6 #B2C9F0

Accessibility & contrast

On white

3.79
#4C82DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#4C82DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C82DC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C82DC#FFFFFF#000000##000000
##4C82DC1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#598AE0
Deuteranopia (green-blind)
#437DDA
Tritanopia (blue-blind)
#0097A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4c82dc;
/* rgb */ color: rgb(76, 130, 220);
/* oklch */ color: oklch(61.3% 0.149 260.0);
Tailwind
colors: {
  custom: {
    50: '#8ca5e7',
    500: '#4c82dc',
    950: '#000000',
  },
}
SCSS
$custom: #4c82dc;
$custom-light: #8ca5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c82dc",
  "rgb": {
    "r": 76,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 217.5,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61293,
    "c": 0.14857,
    "h": 260
  },
  "luminance": 0.22669
}

Semantic roles & 50–950 ramp

primary
#4C82DC
secondary
#DFC9A5
accent
#A93EEA
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C82DC

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

Preview Lab → · Contrast checker → · Palette generator →

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