#4866AF#4866AF

#4866AF is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.3% C 0.121 H 265.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4866AF
RGBrgb(72, 102, 175)
HSLhsl(223, 42%, 48%)
HSVhsv(223, 59%, 69%)
CMYKcmyk(58.9%, 41.7%, 0%, 31.4%)
CIE-LABlab(44.20, 11.69, -42.32)
CIE-LCHlch(44.20, 43.90, 285.44°)
OKLaboklab(52.29% -0.0093 -0.1203)
OKLCHoklch(52.29% 0.121 265.6)
XYZxyz(15.1591, 13.9744, 42.4476)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866AF #AF9148
analogous
#4899AF #4866AF #5D48AF
triadic
#4866AF #AF4866 #66AF48
tetradic
#4866AF #AF4899 #AF9148 #48AF5D
square
#4866AF #AF4899 #AF9148 #48AF5D
split-complementary
#4866AF #AF5D48 #99AF48
monochromatic
#243358 #364D84 #4866AF #7089C4 #9BACD6

Accessibility & contrast

On white

5.53
#4866AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4866AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866AF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866AF#FFFFFF#000000##FFFFFF
##4866AF1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466EB2
Deuteranopia (green-blind)
#3964AD
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4866af;
/* rgb */ color: rgb(72, 102, 175);
/* oklch */ color: oklch(52.3% 0.121 265.6);
Tailwind
colors: {
  custom: {
    50: '#8391c7',
    500: '#4866af',
    950: '#000000',
  },
}
SCSS
$custom: #4866af;
$custom-light: #8391c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4866af",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 175
  },
  "hsl": {
    "h": 222.524,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52292,
    "c": 0.12067,
    "h": 265.6
  },
  "luminance": 0.13976
}

Semantic roles & 50–950 ramp

primary
#4866AF
secondary
#C2B490
accent
#AE56D2
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4866AF

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

Preview Lab → · Contrast checker → · Palette generator →

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