#4C66DB#4C66DB

#4C66DB is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.5% C 0.181 H 270.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4C66DB
RGBrgb(76, 102, 219)
HSLhsl(229, 67%, 58%)
HSVhsv(229, 65%, 86%)
CMYKcmyk(65.3%, 53.4%, 0%, 14.1%)
CIE-LABlab(47.17, 27.62, -62.90)
CIE-LCHlch(47.17, 68.70, 293.71°)
OKLaboklab(55.5% 0.0003 -0.1807)
OKLCHoklch(55.5% 0.181 270.1)
XYZxyz(20.5137, 16.1518, 69.0407)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C66DB #DBC14C
analogous
#4CADDB #4C66DB #794CDB
triadic
#4C66DB #DB4C66 #66DB4C
tetradic
#4C66DB #DB4CAD #DBC14C #4CDB79
square
#4C66DB #DB4CAD #DBC14C #4CDB79
split-complementary
#4C66DB #DB794C #ADDB4C
monochromatic
#1D3290 #2743C3 #4C66DB #7F92E5 #B2BDEF

Accessibility & contrast

On white

4.96
#4C66DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4C66DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C66DB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C66DB#FFFFFF#000000##FFFFFF
##4C66DB1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1177DF
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#008297
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4c66db;
/* rgb */ color: rgb(76, 102, 219);
/* oklch */ color: oklch(55.5% 0.181 270.1);
Tailwind
colors: {
  custom: {
    50: '#8d91e7',
    500: '#4c66db',
    950: '#000000',
  },
}
SCSS
$custom: #4c66db;
$custom-light: #8d91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c66db",
  "rgb": {
    "r": 76,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 229.091,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55502,
    "c": 0.18073,
    "h": 270.1
  },
  "luminance": 0.16154
}

Semantic roles & 50–950 ramp

primary
#4C66DB
secondary
#DED4A5
accent
#CA3EE9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4C66DB

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

Preview Lab → · Contrast checker → · Palette generator →

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