#4866C2#4866C2

#4866C2 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.5% C 0.148 H 267.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4866C2
RGBrgb(72, 102, 194)
HSLhsl(225, 50%, 52%)
HSVhsv(225, 63%, 76%)
CMYKcmyk(62.9%, 47.4%, 0%, 23.9%)
CIE-LABlab(45.32, 18.26, -51.57)
CIE-LCHlch(45.32, 54.71, 289.50°)
OKLaboklab(53.52% -0.0061 -0.1475)
OKLCHoklch(53.52% 0.148 267.6)
XYZxyz(17.1581, 14.7740, 52.9759)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866C2 #C2A448
analogous
#48A3C2 #4866C2 #6748C2
triadic
#4866C2 #C24866 #66C248
tetradic
#4866C2 #C248A3 #C2A448 #48C267
square
#4866C2 #C248A3 #C2A448 #48C267
split-complementary
#4866C2 #C26748 #A3C248
monochromatic
#24366C #334C9A #4866C2 #768CD1 #A4B3E1

Accessibility & contrast

On white

5.31
#4866C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4866C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866C2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866C2#FFFFFF#000000##FFFFFF
##4866C21.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3871C5
Deuteranopia (green-blind)
#2166C0
Tritanopia (blue-blind)
#007B8A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4866c2;
/* rgb */ color: rgb(72, 102, 194);
/* oklch */ color: oklch(53.5% 0.148 267.6);
Tailwind
colors: {
  custom: {
    50: '#8691d5',
    500: '#4866c2',
    950: '#000000',
  },
}
SCSS
$custom: #4866c2;
$custom-light: #8691d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4866c2",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 194
  },
  "hsl": {
    "h": 225.246,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53521,
    "c": 0.14761,
    "h": 267.6
  },
  "luminance": 0.14776
}

Semantic roles & 50–950 ramp

primary
#4866C2
secondary
#CEC098
accent
#B74EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4866C2

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

Preview Lab → · Contrast checker → · Palette generator →

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