#4C6CBC#4C6CBC

#4C6CBC is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.6% C 0.130 H 265.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4C6CBC
RGBrgb(76, 108, 188)
HSLhsl(223, 46%, 52%)
HSVhsv(223, 60%, 74%)
CMYKcmyk(59.6%, 42.6%, 0%, 26.3%)
CIE-LABlab(46.83, 13.17, -45.68)
CIE-LCHlch(46.83, 47.54, 286.09°)
OKLaboklab(54.62% -0.0095 -0.13)
OKLCHoklch(54.62% 0.13 265.8)
XYZxyz(17.4171, 15.8910, 49.7166)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6CBC #BC9C4C
analogous
#4CA4BC #4C6CBC #644CBC
triadic
#4C6CBC #BC4C6C #6CBC4C
tetradic
#4C6CBC #BC4CA4 #BC9C4C #4CBC64
square
#4C6CBC #BC4CA4 #BC9C4C #4CBC64
split-complementary
#4C6CBC #BC644C #A4BC4C
monochromatic
#273967 #375294 #4C6CBC #7991CD #A5B5DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C6CBC#FFFFFF#000000##FFFFFF
##4C6CBC1.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)
#4974BF
Deuteranopia (green-blind)
#396ABA
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4c6cbc;
/* rgb */ color: rgb(76, 108, 188);
/* oklch */ color: oklch(54.6% 0.130 265.8);
Tailwind
colors: {
  custom: {
    50: '#8795d0',
    500: '#4c6cbc',
    950: '#000000',
  },
}
SCSS
$custom: #4c6cbc;
$custom-light: #8795d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6cbc",
  "rgb": {
    "r": 76,
    "g": 108,
    "b": 188
  },
  "hsl": {
    "h": 222.857,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54618,
    "c": 0.13035,
    "h": 265.8
  },
  "luminance": 0.15892
}

Semantic roles & 50–950 ramp

primary
#4C6CBC
secondary
#CABC99
accent
#B053D5
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4C6CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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