#4C56BB#4C56BB

#4C56BB is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.1% C 0.157 H 274.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4C56BB
RGBrgb(76, 86, 187)
HSLhsl(235, 45%, 52%)
HSVhsv(235, 59%, 73%)
CMYKcmyk(59.4%, 54%, 0%, 26.7%)
CIE-LABlab(40.86, 26.75, -54.67)
CIE-LCHlch(40.86, 60.87, 296.07°)
OKLaboklab(50.06% 0.0135 -0.1567)
OKLCHoklch(50.06% 0.157 274.9)
XYZxyz(15.2750, 11.7788, 48.4727)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C56BB #BBB14C
analogous
#4C8EBB #4C56BB #7A4CBB
triadic
#4C56BB #BB4C56 #56BB4C
tetradic
#4C56BB #BB4C8E #BBB14C #4CBB7A
square
#4C56BB #BB4C8E #BBB14C #4CBB7A
split-complementary
#4C56BB #BB7A4C #8EBB4C
monochromatic
#272C66 #384092 #4C56BB #7880CC #A5AADD

Accessibility & contrast

On white

6.26
#4C56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4C56BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C56BB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C56BB#FFFFFF#000000##FFFFFF
##4C56BB1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c56bb;
/* rgb */ color: rgb(76, 86, 187);
/* oklch */ color: oklch(50.1% 0.157 274.9);
Tailwind
colors: {
  custom: {
    50: '#8885d0',
    500: '#4c56bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c56bb;
$custom-light: #8885d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c56bb",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 234.595,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50062,
    "c": 0.15729,
    "h": 274.9
  },
  "luminance": 0.1178
}

Semantic roles & 50–950 ramp

primary
#4C56BB
secondary
#CAC599
accent
#C953D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4C56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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