#4C66E5#4C66E5

#4C66E5 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.2% C 0.194 H 270.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4C66E5
RGBrgb(76, 102, 229)
HSLhsl(230, 75%, 60%)
HSVhsv(230, 67%, 90%)
CMYKcmyk(66.8%, 55.5%, 0%, 10.2%)
CIE-LABlab(47.87, 31.08, -67.43)
CIE-LCHlch(47.87, 74.25, 294.74°)
OKLaboklab(56.25% 0.0008 -0.194)
OKLCHoklch(56.25% 0.194 270.2)
XYZxyz(21.8699, 16.6943, 76.1833)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C66E5 #E5CB4C
analogous
#4CB2E5 #4C66E5 #7F4CE5
triadic
#4C66E5 #E54C66 #66E54C
tetradic
#4C66E5 #E54CB2 #E5CB4C #4CE57F
square
#4C66E5 #E54CB2 #E5CB4C #4CE57F
split-complementary
#4C66E5 #E57F4C #B2E54C
monochromatic
#172E9F #1F3ED5 #4C66E5 #8194ED #B7C1F5

Accessibility & contrast

On white

4.84
#4C66E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#4C66E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C66E5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C66E5#FFFFFF#000000##FFFFFF
##4C66E51.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4c66e5;
/* rgb */ color: rgb(76, 102, 229);
/* oklch */ color: oklch(56.2% 0.194 270.2);
Tailwind
colors: {
  custom: {
    50: '#8f91ee',
    500: '#4c66e5',
    950: '#000000',
  },
}
SCSS
$custom: #4c66e5;
$custom-light: #8f91ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c66e5",
  "rgb": {
    "r": 76,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 229.804,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56249,
    "c": 0.19405,
    "h": 270.2
  },
  "luminance": 0.16696
}

Semantic roles & 50–950 ramp

primary
#4C66E5
secondary
#E4DAA9
accent
#D237F1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4C66E5

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

Preview Lab → · Contrast checker → · Palette generator →

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