#4C66D7#4C66D7

#4C66D7 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.2% C 0.175 H 270.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4C66D7
RGBrgb(76, 102, 215)
HSLhsl(229, 63%, 57%)
HSVhsv(229, 65%, 84%)
CMYKcmyk(64.7%, 52.6%, 0%, 15.7%)
CIE-LABlab(46.90, 26.24, -61.07)
CIE-LCHlch(46.90, 66.47, 293.25°)
OKLaboklab(55.21% 0 -0.1753)
OKLCHoklch(55.21% 0.175 270)
XYZxyz(19.9934, 15.9437, 66.3006)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C66D7 #D7BD4C
analogous
#4CACD7 #4C66D7 #784CD7
triadic
#4C66D7 #D74C66 #66D74C
tetradic
#4C66D7 #D74CAC #D7BD4C #4CD778
square
#4C66D7 #D74CAC #D7BD4C #4CD778
split-complementary
#4C66D7 #D7784C #ACD74C
monochromatic
#1F338A #2A45BC #4C66D7 #7E91E2 #B0BCED

Accessibility & contrast

On white

5.01
#4C66D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4C66D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C66D7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C66D7#FFFFFF#000000##FFFFFF
##4C66D71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C76DB
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#008195
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4c66d7;
/* rgb */ color: rgb(76, 102, 215);
/* oklch */ color: oklch(55.2% 0.175 270.0);
Tailwind
colors: {
  custom: {
    50: '#8c91e4',
    500: '#4c66d7',
    950: '#000000',
  },
}
SCSS
$custom: #4c66d7;
$custom-light: #8c91e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c66d7",
  "rgb": {
    "r": 76,
    "g": 102,
    "b": 215
  },
  "hsl": {
    "h": 228.777,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55211,
    "c": 0.17534,
    "h": 270
  },
  "luminance": 0.15946
}

Semantic roles & 50–950 ramp

primary
#4C66D7
secondary
#DCD1A3
accent
#C841E6
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4C66D7

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

Preview Lab → · Contrast checker → · Palette generator →

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