#4C6DD5#4C6DD5

#4C6DD5 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.5% C 0.164 H 267.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4C6DD5
RGBrgb(76, 109, 213)
HSLhsl(226, 62%, 57%)
HSVhsv(226, 64%, 84%)
CMYKcmyk(64.3%, 48.8%, 0%, 16.5%)
CIE-LABlab(48.61, 21.16, -57.18)
CIE-LCHlch(48.61, 60.97, 290.31°)
OKLaboklab(56.46% -0.0067 -0.1638)
OKLCHoklch(56.46% 0.164 267.7)
XYZxyz(20.4553, 17.2760, 65.1945)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6DD5 #D5B44C
analogous
#4CB2D5 #4C6DD5 #704CD5
triadic
#4C6DD5 #D54C6D #6DD54C
tetradic
#4C6DD5 #D54CB2 #D5B44C #4CD570
square
#4C6DD5 #D54CB2 #D5B44C #4CD570
split-complementary
#4C6DD5 #D5704C #B2D54C
monochromatic
#203987 #2B4DB9 #4C6DD5 #7E95E1 #AFBEEC

Accessibility & contrast

On white

4.71
#4C6DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4C6DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6DD5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6DD5#FFFFFF#000000##FFFFFF
##4C6DD51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#357AD9
Deuteranopia (green-blind)
#136ED3
Tritanopia (blue-blind)
#008597
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4c6dd5;
/* rgb */ color: rgb(76, 109, 213);
/* oklch */ color: oklch(56.5% 0.164 267.7);
Tailwind
colors: {
  custom: {
    50: '#8b96e2',
    500: '#4c6dd5',
    950: '#000000',
  },
}
SCSS
$custom: #4c6dd5;
$custom-light: #8b96e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6dd5",
  "rgb": {
    "r": 76,
    "g": 109,
    "b": 213
  },
  "hsl": {
    "h": 225.547,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56461,
    "c": 0.16394,
    "h": 267.7
  },
  "luminance": 0.17278
}

Semantic roles & 50–950 ramp

primary
#4C6DD5
secondary
#DACDA2
accent
#BE43E5
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4C6DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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