#4C6CDA#4C6CDA

#4C6CDA is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.6% C 0.172 H 268.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4C6CDA
RGBrgb(76, 108, 218)
HSLhsl(226, 66%, 58%)
HSVhsv(226, 65%, 85%)
CMYKcmyk(65.1%, 50.5%, 0%, 14.5%)
CIE-LABlab(48.66, 23.52, -59.93)
CIE-LCHlch(48.66, 64.38, 291.43°)
OKLaboklab(56.61% -0.0052 -0.1719)
OKLCHoklch(56.61% 0.172 268.3)
XYZxyz(20.9936, 17.3216, 68.5531)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6CDA #DABA4C
analogous
#4CB3DA #4C6CDA #734CDA
triadic
#4C6CDA #DA4C6C #6CDA4C
tetradic
#4C6CDA #DA4CB3 #DABA4C #4CDA73
square
#4C6CDA #DA4CB3 #DABA4C #4CDA73
split-complementary
#4C6CDA #DA734C #B3DA4C
monochromatic
#1D378E #284AC1 #4C6CDA #7F96E4 #B1BFEF

Accessibility & contrast

On white

4.70
#4C6CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C6CDA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6CDA#FFFFFF#000000##FFFFFF
##4C6CDA1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C7ADE
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#008699
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c6cda;
/* rgb */ color: rgb(76, 108, 218);
/* oklch */ color: oklch(56.6% 0.172 268.3);
Tailwind
colors: {
  custom: {
    50: '#8c95e6',
    500: '#4c6cda',
    950: '#000000',
  },
}
SCSS
$custom: #4c6cda;
$custom-light: #8c95e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6cda",
  "rgb": {
    "r": 76,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 226.479,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56606,
    "c": 0.17198,
    "h": 268.3
  },
  "luminance": 0.17324
}

Semantic roles & 50–950 ramp

primary
#4C6CDA
secondary
#DDD1A4
accent
#C23FE9
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4C6CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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