#4866D4#4866D4

#4866D4 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.8% C 0.172 H 268.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4866D4
RGBrgb(72, 102, 212)
HSLhsl(227, 62%, 56%)
HSVhsv(227, 66%, 83%)
CMYKcmyk(66%, 51.9%, 0%, 16.9%)
CIE-LABlab(46.49, 24.56, -60.04)
CIE-LCHlch(46.49, 64.86, 292.25°)
OKLaboklab(54.78% -0.0041 -0.1724)
OKLCHoklch(54.78% 0.172 268.6)
XYZxyz(19.3035, 15.6321, 64.2746)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866D4 #D4B648
analogous
#48ACD4 #4866D4 #7048D4
triadic
#4866D4 #D44866 #66D448
tetradic
#4866D4 #D448AC #D4B648 #48D470
square
#4866D4 #D448AC #D4B648 #48D470
split-complementary
#4866D4 #D47048 #ACD448
monochromatic
#1F3483 #2A48B4 #4866D4 #7A8FE0 #ABB9EB

Accessibility & contrast

On white

5.09
#4866D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4866D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866D4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866D4#FFFFFF#000000##FFFFFF
##4866D41.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2175D8
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#008093
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4866d4;
/* rgb */ color: rgb(72, 102, 212);
/* oklch */ color: oklch(54.8% 0.172 268.6);
Tailwind
colors: {
  custom: {
    50: '#8a91e2',
    500: '#4866d4',
    950: '#000000',
  },
}
SCSS
$custom: #4866d4;
$custom-light: #8a91e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4866d4",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 212
  },
  "hsl": {
    "h": 227.143,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54778,
    "c": 0.17243,
    "h": 268.6
  },
  "luminance": 0.15634
}

Semantic roles & 50–950 ramp

primary
#4866D4
secondary
#D9CD9F
accent
#C243E5
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4866D4

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

Preview Lab → · Contrast checker → · Palette generator →

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