#4C66CF#4C66CF

#4C66CF is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.6% C 0.164 H 269.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4C66CF
RGBrgb(76, 102, 207)
HSLhsl(228, 58%, 55%)
HSVhsv(228, 63%, 81%)
CMYKcmyk(63.3%, 50.7%, 0%, 18.8%)
CIE-LABlab(46.37, 23.47, -57.36)
CIE-LCHlch(46.37, 61.98, 292.26°)
OKLaboklab(54.64% -0.0007 -0.1644)
OKLCHoklch(54.64% 0.164 269.8)
XYZxyz(18.9905, 15.5426, 61.0186)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C66CF #CFB54C
analogous
#4CA7CF #4C66CF #744CCF
triadic
#4C66CF #CF4C66 #66CF4C
tetradic
#4C66CF #CF4CA7 #CFB54C #4CCF74
square
#4C66CF #CF4CA7 #CFB54C #4CCF74
split-complementary
#4C66CF #CF744C #A7CF4C
monochromatic
#22347F #2F48AF #4C66CF #7C8FDC #ADB8E9

Accessibility & contrast

On white

5.11
#4C66CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4C66CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C66CF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C66CF#FFFFFF#000000##FFFFFF
##4C66CF1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#007E91
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4c66cf;
/* rgb */ color: rgb(76, 102, 207);
/* oklch */ color: oklch(54.6% 0.164 269.8);
Tailwind
colors: {
  custom: {
    50: '#8b91de',
    500: '#4c66cf',
    950: '#000000',
  },
}
SCSS
$custom: #4c66cf;
$custom-light: #8b91de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c66cf",
  "rgb": {
    "r": 76,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 228.092,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54639,
    "c": 0.16442,
    "h": 269.8
  },
  "luminance": 0.15544
}

Semantic roles & 50–950 ramp

primary
#4C66CF
secondary
#D7CCA0
accent
#C247E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4C66CF

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

Preview Lab → · Contrast checker → · Palette generator →

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