#4C6CDD#4C6CDD

#4C6CDD is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.8% C 0.176 H 268.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4C6CDD
RGBrgb(76, 108, 221)
HSLhsl(227, 68%, 58%)
HSVhsv(227, 66%, 87%)
CMYKcmyk(65.6%, 51.1%, 0%, 13.3%)
CIE-LABlab(48.86, 24.56, -61.31)
CIE-LCHlch(48.86, 66.05, 291.83°)
OKLaboklab(56.82% -0.0049 -0.176)
OKLCHoklch(56.82% 0.176 268.4)
XYZxyz(21.3897, 17.4801, 70.6394)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6CDD #DDBD4C
analogous
#4CB4DD #4C6CDD #744CDD
triadic
#4C6CDD #DD4C6C #6CDD4C
tetradic
#4C6CDD #DD4CB4 #DDBD4C #4CDD74
square
#4C6CDD #DD4CB4 #DDBD4C #4CDD74
split-complementary
#4C6CDD #DD744C #B4DD4C
monochromatic
#1C3693 #2649C6 #4C6CDD #7F96E7 #B3C0F1

Accessibility & contrast

On white

4.67
#4C6CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4C6CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6CDD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6CDD#FFFFFF#000000##FFFFFF
##4C6CDD1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#277BE1
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#00879A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c6cdd;
/* rgb */ color: rgb(76, 108, 221);
/* oklch */ color: oklch(56.8% 0.176 268.4);
Tailwind
colors: {
  custom: {
    50: '#8d95e8',
    500: '#4c6cdd',
    950: '#000000',
  },
}
SCSS
$custom: #4c6cdd;
$custom-light: #8d95e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6cdd",
  "rgb": {
    "r": 76,
    "g": 108,
    "b": 221
  },
  "hsl": {
    "h": 226.759,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56818,
    "c": 0.17604,
    "h": 268.4
  },
  "luminance": 0.17482
}

Semantic roles & 50–950 ramp

primary
#4C6CDD
secondary
#DFD3A6
accent
#C53DEB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4C6CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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