#4866DC#4866DC

#4866DC is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.4% C 0.183 H 268.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4866DC
RGBrgb(72, 102, 220)
HSLhsl(228, 68%, 57%)
HSVhsv(228, 67%, 86%)
CMYKcmyk(67.3%, 53.6%, 0%, 13.7%)
CIE-LABlab(47.03, 27.36, -63.70)
CIE-LCHlch(47.03, 69.33, 293.24°)
OKLaboklab(55.36% -0.0035 -0.1832)
OKLCHoklch(55.36% 0.183 268.9)
XYZxyz(20.3377, 16.0458, 69.7216)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866DC #DCBE48
analogous
#48B0DC #4866DC #7448DC
triadic
#4866DC #DC4866 #66DC48
tetradic
#4866DC #DC48B0 #DCBE48 #48DC74
square
#4866DC #DC48B0 #DCBE48 #48DC74
split-complementary
#4866DC #DC7448 #B0DC48
monochromatic
#1B338E #2545C2 #4866DC #7B91E6 #AFBCF0

Accessibility & contrast

On white

4.99
#4866DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#4866DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866DC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866DC#FFFFFF#000000##FFFFFF
##4866DC1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A77E0
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#008297
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4866dc;
/* rgb */ color: rgb(72, 102, 220);
/* oklch */ color: oklch(55.4% 0.183 268.9);
Tailwind
colors: {
  custom: {
    50: '#8b91e8',
    500: '#4866dc',
    950: '#000000',
  },
}
SCSS
$custom: #4866dc;
$custom-light: #8b91e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4866dc",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 227.838,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55364,
    "c": 0.18321,
    "h": 268.9
  },
  "luminance": 0.16048
}

Semantic roles & 50–950 ramp

primary
#4866DC
secondary
#DED2A2
accent
#C83DEB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4866DC

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

Preview Lab → · Contrast checker → · Palette generator →

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