#4C56BF#4C56BF

#4C56BF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.163 H 274.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4C56BF
RGBrgb(76, 86, 191)
HSLhsl(235, 47%, 52%)
HSVhsv(235, 60%, 75%)
CMYKcmyk(60.2%, 55%, 0%, 25.1%)
CIE-LABlab(41.14, 28.10, -56.56)
CIE-LCHlch(41.14, 63.16, 296.42°)
OKLaboklab(50.36% 0.0137 -0.1623)
OKLCHoklch(50.36% 0.163 274.8)
XYZxyz(15.7092, 11.9524, 50.7593)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C56BF #BFB54C
analogous
#4C8FBF #4C56BF #7C4CBF
triadic
#4C56BF #BF4C56 #56BF4C
tetradic
#4C56BF #BF4C8F #BFB54C #4CBF7C
square
#4C56BF #BF4C8F #BFB54C #4CBF7C
split-complementary
#4C56BF #BF7C4C #8FBF4C
monochromatic
#262C6B #363F98 #4C56BF #7981CF #A6ABDF

Accessibility & contrast

On white

6.19
#4C56BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4C56BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C56BF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C56BF#FFFFFF#000000##FFFFFF
##4C56BF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0766C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c56bf;
/* rgb */ color: rgb(76, 86, 191);
/* oklch */ color: oklch(50.4% 0.163 274.8);
Tailwind
colors: {
  custom: {
    50: '#8985d3',
    500: '#4c56bf',
    950: '#000000',
  },
}
SCSS
$custom: #4c56bf;
$custom-light: #8985d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c56bf",
  "rgb": {
    "r": 76,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 234.783,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50359,
    "c": 0.16284,
    "h": 274.8
  },
  "luminance": 0.11954
}

Semantic roles & 50–950 ramp

primary
#4C56BF
secondary
#CCC89A
accent
#CB51D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4C56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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