#4866D7#4866D7

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

Color values

HEX#4866D7
RGBrgb(72, 102, 215)
HSLhsl(227, 64%, 56%)
HSVhsv(227, 67%, 84%)
CMYKcmyk(66.5%, 52.6%, 0%, 15.7%)
CIE-LABlab(46.69, 25.61, -61.42)
CIE-LCHlch(46.69, 66.54, 292.63°)
OKLaboklab(55% -0.0038 -0.1764)
OKLCHoklch(55% 0.176 268.8)
XYZxyz(19.6854, 15.7849, 66.2862)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866D7 #D7B948
analogous
#48AED7 #4866D7 #7248D7
triadic
#4866D7 #D74866 #66D748
tetradic
#4866D7 #D748AE #D7B948 #48D772
square
#4866D7 #D748AE #D7B948 #48D772
split-complementary
#4866D7 #D77248 #AED748
monochromatic
#1E3487 #2947B9 #4866D7 #7A90E2 #ACBAED

Accessibility & contrast

On white

5.05
#4866D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4866D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866D7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866D7#FFFFFF#000000##FFFFFF
##4866D71.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A75DB
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#008195
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4866d7;
/* rgb */ color: rgb(72, 102, 215);
/* oklch */ color: oklch(55.0% 0.176 268.8);
Tailwind
colors: {
  custom: {
    50: '#8a91e4',
    500: '#4866d7',
    950: '#000000',
  },
}
SCSS
$custom: #4866d7;
$custom-light: #8a91e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4866d7",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 215
  },
  "hsl": {
    "h": 227.413,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54996,
    "c": 0.17649,
    "h": 268.8
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#4866D7
secondary
#DBCEA0
accent
#C441E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4866D7

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

Preview Lab → · Contrast checker → · Palette generator →

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