#4C6FAC#4C6FAC

#4C6FAC is a mid, moderate blue. Relative luminance 0.159; OKLCH L 54.3% C 0.104 H 260.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4C6FAC
RGBrgb(76, 111, 172)
HSLhsl(218, 39%, 49%)
HSVhsv(218, 56%, 67%)
CMYKcmyk(55.8%, 35.5%, 0%, 32.5%)
CIE-LABlab(46.82, 5.92, -36.39)
CIE-LCHlch(46.82, 36.87, 279.25°)
OKLaboklab(54.33% -0.0164 -0.1028)
OKLCHoklch(54.33% 0.104 260.9)
XYZxyz(16.1088, 15.8827, 41.2385)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6FAC #AC894C
analogous
#4C9FAC #4C6FAC #594CAC
triadic
#4C6FAC #AC4C6F #6FAC4C
tetradic
#4C6FAC #AC4C9F #AC894C #4CAC59
square
#4C6FAC #AC4C9F #AC894C #4CAC59
split-complementary
#4C6FAC #AC594C #9FAC4C
monochromatic
#263857 #395482 #4C6FAC #7490C1 #9EB2D4

Accessibility & contrast

On white

5.03
#4C6FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4C6FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6FAC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6FAC#FFFFFF#000000##FFFFFF
##4C6FAC1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5674AF
Deuteranopia (green-blind)
#4A6BAB
Tritanopia (blue-blind)
#0F7C85
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4c6fac;
/* rgb */ color: rgb(76, 111, 172);
/* oklch */ color: oklch(54.3% 0.104 260.9);
Tailwind
colors: {
  custom: {
    50: '#8598c5',
    500: '#4c6fac',
    950: '#000000',
  },
}
SCSS
$custom: #4c6fac;
$custom-light: #8598c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6fac",
  "rgb": {
    "r": 76,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 218.125,
    "s": 38.71,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54329,
    "c": 0.10412,
    "h": 260.9
  },
  "luminance": 0.15884
}

Semantic roles & 50–950 ramp

primary
#4C6FAC
secondary
#C1B093
accent
#A459CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #4C6FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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