#4866D9#4866D9

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

Color values

HEX#4866D9
RGBrgb(72, 102, 217)
HSLhsl(228, 66%, 57%)
HSVhsv(228, 67%, 85%)
CMYKcmyk(66.8%, 53%, 0%, 14.9%)
CIE-LABlab(46.83, 26.31, -62.34)
CIE-LCHlch(46.83, 67.66, 292.88°)
OKLaboklab(55.14% -0.0037 -0.1791)
OKLCHoklch(55.14% 0.179 268.8)
XYZxyz(19.9440, 15.8883, 67.6479)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866D9 #D9BB48
analogous
#48AFD9 #4866D9 #7348D9
triadic
#4866D9 #D94866 #66D948
tetradic
#4866D9 #D948AF #D9BB48 #48D973
square
#4866D9 #D948AF #D9BB48 #48D973
split-complementary
#4866D9 #D97348 #AFD948
monochromatic
#1D338A #2746BD #4866D9 #7B90E4 #ADBBEE

Accessibility & contrast

On white

5.03
#4866D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4866D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866D9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866D9#FFFFFF#000000##FFFFFF
##4866D91.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1576DD
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4866d9;
/* rgb */ color: rgb(72, 102, 217);
/* oklch */ color: oklch(55.1% 0.179 268.8);
Tailwind
colors: {
  custom: {
    50: '#8b91e5',
    500: '#4866d9',
    950: '#000000',
  },
}
SCSS
$custom: #4866d9;
$custom-light: #8b91e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4866d9",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 217
  },
  "hsl": {
    "h": 227.586,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55143,
    "c": 0.17919,
    "h": 268.8
  },
  "luminance": 0.1589
}

Semantic roles & 50–950 ramp

primary
#4866D9
secondary
#DCD0A1
accent
#C63FE9
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4866D9

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

Preview Lab → · Contrast checker → · Palette generator →

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