#4C66CC#4C66CC

#4C66CC is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.4% C 0.160 H 269.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4C66CC
RGBrgb(76, 102, 204)
HSLhsl(228, 56%, 55%)
HSVhsv(228, 63%, 80%)
CMYKcmyk(62.7%, 50%, 0%, 20%)
CIE-LABlab(46.17, 22.44, -55.95)
CIE-LCHlch(46.17, 60.29, 291.85°)
OKLaboklab(54.43% -0.001 -0.1603)
OKLCHoklch(54.43% 0.16 269.7)
XYZxyz(18.6273, 15.3973, 59.1054)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C66CC #CCB24C
analogous
#4CA6CC #4C66CC #724CCC
triadic
#4C66CC #CC4C66 #66CC4C
tetradic
#4C66CC #CC4CA6 #CCB24C #4CCC72
square
#4C66CC #CC4CA6 #CCB24C #4CCC72
split-complementary
#4C66CC #CC724C #A6CC4C
monochromatic
#23357B #3149AA #4C66CC #7C8FDA #ABB7E7

Accessibility & contrast

On white

5.15
#4C66CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4C66CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C66CC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C66CC#FFFFFF#000000##FFFFFF
##4C66CC1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E73D0
Deuteranopia (green-blind)
#0B68CA
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4c66cc;
/* rgb */ color: rgb(76, 102, 204);
/* oklch */ color: oklch(54.4% 0.160 269.7);
Tailwind
colors: {
  custom: {
    50: '#8a91dc',
    500: '#4c66cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c66cc;
$custom-light: #8a91dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c66cc",
  "rgb": {
    "r": 76,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 227.813,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54429,
    "c": 0.16029,
    "h": 269.7
  },
  "luminance": 0.15399
}

Semantic roles & 50–950 ramp

primary
#4C66CC
secondary
#D5CA9F
accent
#C049DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C66CC

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

Preview Lab → · Contrast checker → · Palette generator →

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