#4866D8#4866D8

#4866D8 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.1% C 0.178 H 268.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4866D8
RGBrgb(72, 102, 216)
HSLhsl(228, 65%, 56%)
HSVhsv(228, 67%, 85%)
CMYKcmyk(66.7%, 52.8%, 0%, 15.3%)
CIE-LABlab(46.76, 25.96, -61.88)
CIE-LCHlch(46.76, 67.10, 292.76°)
OKLaboklab(55.07% -0.0038 -0.1778)
OKLCHoklch(55.07% 0.178 268.8)
XYZxyz(19.8143, 15.8364, 66.9650)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866D8 #D8BA48
analogous
#48AED8 #4866D8 #7248D8
triadic
#4866D8 #D84866 #66D848
tetradic
#4866D8 #D848AE #D8BA48 #48D872
square
#4866D8 #D848AE #D8BA48 #48D872
split-complementary
#4866D8 #D87248 #AED848
monochromatic
#1D3389 #2846BB #4866D8 #7A90E3 #ADBAEE

Accessibility & contrast

On white

5.04
#4866D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4866D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866D8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866D8#FFFFFF#000000##FFFFFF
##4866D81.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1876DC
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#008195
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4866d8;
/* rgb */ color: rgb(72, 102, 216);
/* oklch */ color: oklch(55.1% 0.178 268.8);
Tailwind
colors: {
  custom: {
    50: '#8a91e5',
    500: '#4866d8',
    950: '#000000',
  },
}
SCSS
$custom: #4866d8;
$custom-light: #8a91e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4866d8",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 216
  },
  "hsl": {
    "h": 227.5,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55069,
    "c": 0.17784,
    "h": 268.8
  },
  "luminance": 0.15838
}

Semantic roles & 50–950 ramp

primary
#4866D8
secondary
#DBCFA0
accent
#C540E8
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4866D8

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

Preview Lab → · Contrast checker → · Palette generator →

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