#4866AB#4866AB

#4866AB is a mid, moderate blue. Relative luminance 0.138; OKLCH L 52.0% C 0.115 H 265.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4866AB
RGBrgb(72, 102, 171)
HSLhsl(222, 41%, 48%)
HSVhsv(222, 58%, 67%)
CMYKcmyk(57.9%, 40.4%, 0%, 32.9%)
CIE-LABlab(43.97, 10.32, -40.32)
CIE-LCHlch(43.97, 41.62, 284.36°)
OKLaboklab(52.05% -0.0101 -0.1145)
OKLCHoklch(52.05% 0.115 265)
XYZxyz(14.7720, 13.8196, 40.4092)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866AB #AB8D48
analogous
#4898AB #4866AB #5B48AB
triadic
#4866AB #AB4866 #66AB48
tetradic
#4866AB #AB4898 #AB8D48 #48AB5B
square
#4866AB #AB4898 #AB8D48 #48AB5B
split-complementary
#4866AB #AB5B48 #98AB48
monochromatic
#243355 #364C80 #4866AB #6E88C2 #99ABD4

Accessibility & contrast

On white

5.58
#4866AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4866AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866AB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866AB#FFFFFF#000000##FFFFFF
##4866AB1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496DAE
Deuteranopia (green-blind)
#3C64AA
Tritanopia (blue-blind)
#007580
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4866ab;
/* rgb */ color: rgb(72, 102, 171);
/* oklch */ color: oklch(52.0% 0.115 265.0);
Tailwind
colors: {
  custom: {
    50: '#8391c4',
    500: '#4866ab',
    950: '#000000',
  },
}
SCSS
$custom: #4866ab;
$custom-light: #8391c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4866ab",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 171
  },
  "hsl": {
    "h": 221.818,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52048,
    "c": 0.11492,
    "h": 265
  },
  "luminance": 0.13821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4866AB

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

Preview Lab → · Contrast checker → · Palette generator →

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