#4866D3#4866D3

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

Color values

HEX#4866D3
RGBrgb(72, 102, 211)
HSLhsl(227, 61%, 55%)
HSVhsv(227, 66%, 83%)
CMYKcmyk(65.9%, 51.7%, 0%, 17.3%)
CIE-LABlab(46.42, 24.21, -59.57)
CIE-LCHlch(46.42, 64.30, 292.11°)
OKLaboklab(54.71% -0.0042 -0.171)
OKLCHoklch(54.71% 0.171 268.6)
XYZxyz(19.1777, 15.5818, 63.6123)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866D3 #D3B548
analogous
#48ACD3 #4866D3 #6F48D3
triadic
#4866D3 #D34866 #66D348
tetradic
#4866D3 #D348AC #D3B548 #48D36F
square
#4866D3 #D348AC #D3B548 #48D36F
split-complementary
#4866D3 #D36F48 #ACD348
monochromatic
#1F3481 #2B48B3 #4866D3 #798FDF #ABB8EB

Accessibility & contrast

On white

5.10
#4866D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4866D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866D3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866D3#FFFFFF#000000##FFFFFF
##4866D31.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2275D7
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#008093
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4866d3;
/* rgb */ color: rgb(72, 102, 211);
/* oklch */ color: oklch(54.7% 0.171 268.6);
Tailwind
colors: {
  custom: {
    50: '#8a91e1',
    500: '#4866d3',
    950: '#000000',
  },
}
SCSS
$custom: #4866d3;
$custom-light: #8a91e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4866d3",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 211
  },
  "hsl": {
    "h": 227.05,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54706,
    "c": 0.17107,
    "h": 268.6
  },
  "luminance": 0.15584
}

Semantic roles & 50–950 ramp

primary
#4866D3
secondary
#D8CC9E
accent
#C243E4
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4866D3

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

Preview Lab → · Contrast checker → · Palette generator →

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