#4866AC#4866AC

#4866AC is a mid, moderate blue. Relative luminance 0.139; OKLCH L 52.1% C 0.116 H 265.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4866AC
RGBrgb(72, 102, 172)
HSLhsl(222, 41%, 48%)
HSVhsv(222, 58%, 67%)
CMYKcmyk(58.1%, 40.7%, 0%, 32.5%)
CIE-LABlab(44.03, 10.66, -40.82)
CIE-LCHlch(44.03, 42.19, 284.64°)
OKLaboklab(52.11% -0.0099 -0.1159)
OKLCHoklch(52.11% 0.116 265.1)
XYZxyz(14.8677, 13.8578, 40.9131)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866AC #AC8E48
analogous
#4898AC #4866AC #5C48AC
triadic
#4866AC #AC4866 #66AC48
tetradic
#4866AC #AC4898 #AC8E48 #48AC5C
square
#4866AC #AC4898 #AC8E48 #48AC5C
split-complementary
#4866AC #AC5C48 #98AC48
monochromatic
#243356 #364C81 #4866AC #6F88C3 #9AABD5

Accessibility & contrast

On white

5.57
#4866AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4866AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866AC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866AC#FFFFFF#000000##FFFFFF
##4866AC1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486DAF
Deuteranopia (green-blind)
#3B64AB
Tritanopia (blue-blind)
#007580
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4866ac;
/* rgb */ color: rgb(72, 102, 172);
/* oklch */ color: oklch(52.1% 0.116 265.1);
Tailwind
colors: {
  custom: {
    50: '#8391c5',
    500: '#4866ac',
    950: '#000000',
  },
}
SCSS
$custom: #4866ac;
$custom-light: #8391c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4866ac",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 172
  },
  "hsl": {
    "h": 222,
    "s": 40.984,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52108,
    "c": 0.11635,
    "h": 265.1
  },
  "luminance": 0.13859
}

Semantic roles & 50–950 ramp

primary
#4866AC
secondary
#C1B28F
accent
#AC57D1
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4866AC

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

Preview Lab → · Contrast checker → · Palette generator →

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