#4C6CB2#4C6CB2

#4C6CB2 is a mid, moderate blue. Relative luminance 0.155; OKLCH L 54.0% C 0.116 H 264.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4C6CB2
RGBrgb(76, 108, 178)
HSLhsl(221, 40%, 50%)
HSVhsv(221, 57%, 70%)
CMYKcmyk(57.3%, 39.3%, 0%, 30.2%)
CIE-LABlab(46.28, 9.79, -40.75)
CIE-LCHlch(46.28, 41.91, 283.50°)
OKLaboklab(54.01% -0.0115 -0.1156)
OKLCHoklch(54.01% 0.116 264.3)
XYZxyz(16.3762, 15.4747, 44.2348)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6CB2 #B2924C
analogous
#4C9FB2 #4C6CB2 #5F4CB2
triadic
#4C6CB2 #B24C6C #6CB24C
tetradic
#4C6CB2 #B24C9F #B2924C #4CB25F
square
#4C6CB2 #B24C9F #B2924C #4CB25F
split-complementary
#4C6CB2 #B25F4C #9FB24C
monochromatic
#27385C #3A5287 #4C6CB2 #768FC5 #A1B2D7

Accessibility & contrast

On white

5.13
#4C6CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4C6CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6CB2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6CB2#FFFFFF#000000##FFFFFF
##4C6CB21.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B5
Deuteranopia (green-blind)
#4269B1
Tritanopia (blue-blind)
#007B86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4c6cb2;
/* rgb */ color: rgb(76, 108, 178);
/* oklch */ color: oklch(54.0% 0.116 264.3);
Tailwind
colors: {
  custom: {
    50: '#8695c9',
    500: '#4c6cb2',
    950: '#000000',
  },
}
SCSS
$custom: #4c6cb2;
$custom-light: #8695c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6cb2",
  "rgb": {
    "r": 76,
    "g": 108,
    "b": 178
  },
  "hsl": {
    "h": 221.176,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54011,
    "c": 0.11615,
    "h": 264.3
  },
  "luminance": 0.15476
}

Semantic roles & 50–950 ramp

primary
#4C6CB2
secondary
#C4B596
accent
#AA58D0
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4C6CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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