#4C66CB#4C66CB

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

Color values

HEX#4C66CB
RGBrgb(76, 102, 203)
HSLhsl(228, 55%, 55%)
HSVhsv(228, 63%, 80%)
CMYKcmyk(62.6%, 49.8%, 0%, 20.4%)
CIE-LABlab(46.11, 22.09, -55.48)
CIE-LCHlch(46.11, 59.72, 291.71°)
OKLaboklab(54.36% -0.0011 -0.1589)
OKLCHoklch(54.36% 0.159 269.6)
XYZxyz(18.5077, 15.3494, 58.4757)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C66CB #CBB14C
analogous
#4CA5CB #4C66CB #724CCB
triadic
#4C66CB #CB4C66 #66CB4C
tetradic
#4C66CB #CB4CA5 #CBB14C #4CCB72
square
#4C66CB #CB4CA5 #CBB14C #4CCB72
split-complementary
#4C66CB #CB724C #A5CB4C
monochromatic
#233579 #314AA9 #4C66CB #7B8FD9 #ABB7E7

Accessibility & contrast

On white

5.16
#4C66CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4C66CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C66CB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C66CB#FFFFFF#000000##FFFFFF
##4C66CB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CF
Deuteranopia (green-blind)
#0F68C9
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4c66cb;
/* rgb */ color: rgb(76, 102, 203);
/* oklch */ color: oklch(54.4% 0.159 269.6);
Tailwind
colors: {
  custom: {
    50: '#8a91db',
    500: '#4c66cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c66cb;
$custom-light: #8a91db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c66cb",
  "rgb": {
    "r": 76,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 227.717,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54359,
    "c": 0.1589,
    "h": 269.6
  },
  "luminance": 0.15351
}

Semantic roles & 50–950 ramp

primary
#4C66CB
secondary
#D4C99F
accent
#C049DE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C66CB

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

Preview Lab → · Contrast checker → · Palette generator →

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