#4866CD#4866CD

#4866CD is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.3% C 0.163 H 268.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4866CD
RGBrgb(72, 102, 205)
HSLhsl(226, 57%, 54%)
HSVhsv(226, 65%, 80%)
CMYKcmyk(64.9%, 50.2%, 0%, 19.6%)
CIE-LABlab(46.02, 22.10, -56.78)
CIE-LCHlch(46.02, 60.93, 291.27°)
OKLaboklab(54.28% -0.0047 -0.1628)
OKLCHoklch(54.28% 0.163 268.3)
XYZxyz(18.4395, 15.2865, 59.7246)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866CD #CDAF48
analogous
#48A9CD #4866CD #6D48CD
triadic
#4866CD #CD4866 #66CD48
tetradic
#4866CD #CD48A9 #CDAF48 #48CD6D
square
#4866CD #CD48A9 #CDAF48 #48CD6D
split-complementary
#4866CD #CD6D48 #A9CD48
monochromatic
#213579 #2E4AA9 #4866CD #788EDA #A8B6E7

Accessibility & contrast

On white

5.18
#4866CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4866CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866CD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866CD#FFFFFF#000000##FFFFFF
##4866CD1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4866cd;
/* rgb */ color: rgb(72, 102, 205);
/* oklch */ color: oklch(54.3% 0.163 268.3);
Tailwind
colors: {
  custom: {
    50: '#8891dd',
    500: '#4866cd',
    950: '#000000',
  },
}
SCSS
$custom: #4866cd;
$custom-light: #8891dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4866cd",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 226.466,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54279,
    "c": 0.16287,
    "h": 268.3
  },
  "luminance": 0.15288
}

Semantic roles & 50–950 ramp

primary
#4866CD
secondary
#D5C89C
accent
#BE47E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4866CD

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

Preview Lab → · Contrast checker → · Palette generator →

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