#4866CB#4866CB

#4866CB is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.1% C 0.160 H 268.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4866CB
RGBrgb(72, 102, 203)
HSLhsl(226, 56%, 54%)
HSVhsv(226, 65%, 80%)
CMYKcmyk(64.5%, 49.8%, 0%, 20.4%)
CIE-LABlab(45.89, 21.40, -55.84)
CIE-LCHlch(45.89, 59.80, 290.97°)
OKLaboklab(54.14% -0.005 -0.16)
OKLCHoklch(54.14% 0.16 268.2)
XYZxyz(18.1997, 15.1906, 58.4613)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866CB #CBAD48
analogous
#48A7CB #4866CB #6C48CB
triadic
#4866CB #CB4866 #66CB48
tetradic
#4866CB #CB48A7 #CBAD48 #48CB6C
square
#4866CB #CB48A7 #CBAD48 #48CB6C
split-complementary
#4866CB #CB6C48 #A7CB48
monochromatic
#223577 #2F4BA6 #4866CB #788ED9 #A7B6E6

Accessibility & contrast

On white

5.20
#4866CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4866CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866CB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866CB#FFFFFF#000000##FFFFFF
##4866CB1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E73CF
Deuteranopia (green-blind)
#0767C9
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4866cb;
/* rgb */ color: rgb(72, 102, 203);
/* oklch */ color: oklch(54.1% 0.160 268.2);
Tailwind
colors: {
  custom: {
    50: '#8891db',
    500: '#4866cb',
    950: '#000000',
  },
}
SCSS
$custom: #4866cb;
$custom-light: #8891db;
$custom-dark: #000000;
JSON
{
  "hex": "#4866cb",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 226.26,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54139,
    "c": 0.16012,
    "h": 268.2
  },
  "luminance": 0.15192
}

Semantic roles & 50–950 ramp

primary
#4866CB
secondary
#D3C79B
accent
#BD49DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4866CB

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

Preview Lab → · Contrast checker → · Palette generator →

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