#4C66DA#4C66DA

#4C66DA is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.4% C 0.179 H 270.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4C66DA
RGBrgb(76, 102, 218)
HSLhsl(229, 66%, 58%)
HSVhsv(229, 65%, 85%)
CMYKcmyk(65.1%, 53.2%, 0%, 14.5%)
CIE-LABlab(47.10, 27.28, -62.45)
CIE-LCHlch(47.10, 68.14, 293.60°)
OKLaboklab(55.43% 0.0002 -0.1794)
OKLCHoklch(55.43% 0.179 270.1)
XYZxyz(20.3825, 16.0993, 68.3494)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C66DA #DAC04C
analogous
#4CADDA #4C66DA #794CDA
triadic
#4C66DA #DA4C66 #66DA4C
tetradic
#4C66DA #DA4CAD #DAC04C #4CDA79
square
#4C66DA #DA4CAD #DAC04C #4CDA79
split-complementary
#4C66DA #DA794C #ADDA4C
monochromatic
#1D328E #2844C1 #4C66DA #7F91E4 #B1BDEF

Accessibility & contrast

On white

4.98
#4C66DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4C66DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C66DA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C66DA#FFFFFF#000000##FFFFFF
##4C66DA1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1476DE
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#008296
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4c66da;
/* rgb */ color: rgb(76, 102, 218);
/* oklch */ color: oklch(55.4% 0.179 270.1);
Tailwind
colors: {
  custom: {
    50: '#8d91e6',
    500: '#4c66da',
    950: '#000000',
  },
}
SCSS
$custom: #4c66da;
$custom-light: #8d91e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c66da",
  "rgb": {
    "r": 76,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 229.014,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55429,
    "c": 0.17939,
    "h": 270.1
  },
  "luminance": 0.16101
}

Semantic roles & 50–950 ramp

primary
#4C66DA
secondary
#DDD3A4
accent
#CA3FE9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4C66DA

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

Preview Lab → · Contrast checker → · Palette generator →

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