#4866D2#4866D2

#4866D2 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.6% C 0.170 H 268.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4866D2
RGBrgb(72, 102, 210)
HSLhsl(227, 61%, 55%)
HSVhsv(227, 66%, 82%)
CMYKcmyk(65.7%, 51.4%, 0%, 17.6%)
CIE-LABlab(46.35, 23.86, -59.11)
CIE-LCHlch(46.35, 63.74, 291.98°)
OKLaboklab(54.63% -0.0042 -0.1697)
OKLCHoklch(54.63% 0.17 268.6)
XYZxyz(19.0527, 15.5318, 62.9541)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866D2 #D2B448
analogous
#48ABD2 #4866D2 #6F48D2
triadic
#4866D2 #D24866 #66D248
tetradic
#4866D2 #D248AB #D2B448 #48D26F
square
#4866D2 #D248AB #D2B448 #48D26F
split-complementary
#4866D2 #D26F48 #ABD248
monochromatic
#203480 #2C49B1 #4866D2 #798FDE #AAB8EA

Accessibility & contrast

On white

5.11
#4866D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4866D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866D2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866D2#FFFFFF#000000##FFFFFF
##4866D21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2474D6
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4866d2;
/* rgb */ color: rgb(72, 102, 210);
/* oklch */ color: oklch(54.6% 0.170 268.6);
Tailwind
colors: {
  custom: {
    50: '#8991e0',
    500: '#4866d2',
    950: '#000000',
  },
}
SCSS
$custom: #4866d2;
$custom-light: #8991e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4866d2",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 226.957,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54634,
    "c": 0.16971,
    "h": 268.6
  },
  "luminance": 0.15534
}

Semantic roles & 50–950 ramp

primary
#4866D2
secondary
#D8CB9E
accent
#C144E4
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4866D2

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

Preview Lab → · Contrast checker → · Palette generator →

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