#4C66E2#4C66E2

#4C66E2 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.0% C 0.190 H 270.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4C66E2
RGBrgb(76, 102, 226)
HSLhsl(230, 72%, 59%)
HSVhsv(230, 66%, 89%)
CMYKcmyk(66.4%, 54.9%, 0%, 11.4%)
CIE-LABlab(47.66, 30.04, -66.08)
CIE-LCHlch(47.66, 72.59, 294.45°)
OKLaboklab(56.02% 0.0007 -0.1901)
OKLCHoklch(56.02% 0.19 270.2)
XYZxyz(21.4547, 16.5282, 73.9964)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C66E2 #E2C84C
analogous
#4CB1E2 #4C66E2 #7D4CE2
triadic
#4C66E2 #E24C66 #66E24C
tetradic
#4C66E2 #E24CB1 #E2C84C #4CE27D
square
#4C66E2 #E24CB1 #E2C84C #4CE27D
split-complementary
#4C66E2 #E27D4C #B1E24C
monochromatic
#192F9B #2240CF #4C66E2 #8193EB #B5C0F3

Accessibility & contrast

On white

4.88
#4C66E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4C66E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C66E2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C66E2#FFFFFF#000000##FFFFFF
##4C66E21.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#00849A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4c66e2;
/* rgb */ color: rgb(76, 102, 226);
/* oklch */ color: oklch(56.0% 0.190 270.2);
Tailwind
colors: {
  custom: {
    50: '#8e91ec',
    500: '#4c66e2',
    950: '#000000',
  },
}
SCSS
$custom: #4c66e2;
$custom-light: #8e91ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c66e2",
  "rgb": {
    "r": 76,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 229.6,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56023,
    "c": 0.19008,
    "h": 270.2
  },
  "luminance": 0.1653
}

Semantic roles & 50–950 ramp

primary
#4C66E2
secondary
#E2D8A8
accent
#CF39EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4C66E2

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

Preview Lab → · Contrast checker → · Palette generator →

#4C66E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva