#4866E7#4866E7

#4866E7 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.2% C 0.198 H 269.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4866E7
RGBrgb(72, 102, 231)
HSLhsl(229, 77%, 59%)
HSVhsv(229, 69%, 91%)
CMYKcmyk(68.8%, 55.8%, 0%, 9.4%)
CIE-LABlab(47.81, 31.20, -68.66)
CIE-LCHlch(47.81, 75.42, 294.44°)
OKLaboklab(56.19% -0.0029 -0.1978)
OKLCHoklch(56.19% 0.198 269.2)
XYZxyz(21.8427, 16.6478, 77.6480)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866E7 #E7C948
analogous
#48B6E7 #4866E7 #7948E7
triadic
#4866E7 #E74866 #66E748
tetradic
#4866E7 #E748B6 #E7C948 #48E779
square
#4866E7 #E748B6 #E7C948 #48E779
split-complementary
#4866E7 #E77948 #B6E748
monochromatic
#152FA0 #1C3FD6 #4866E7 #7E93EE #B4C0F5

Accessibility & contrast

On white

4.85
#4866E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4866E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866E7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866E7#FFFFFF#000000##FFFFFF
##4866E71.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#00869D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4866e7;
/* rgb */ color: rgb(72, 102, 231);
/* oklch */ color: oklch(56.2% 0.198 269.2);
Tailwind
colors: {
  custom: {
    50: '#8d91ef',
    500: '#4866e7',
    950: '#000000',
  },
}
SCSS
$custom: #4866e7;
$custom-light: #8d91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4866e7",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 228.679,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56195,
    "c": 0.19778,
    "h": 269.2
  },
  "luminance": 0.1665
}

Semantic roles & 50–950 ramp

primary
#4866E7
secondary
#E4D9A6
accent
#CF34F3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4866E7

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

Preview Lab → · Contrast checker → · Palette generator →

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